Commit Graph

14078 Commits

Author SHA1 Message Date
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Mike Jolley 56f274b68b non-functional Mockup for the shipping zones interface 2015-12-08 12:45:18 +00:00
Mike Jolley b9a02ba98c Some US states are countries
American Samoa, Guam, Mariana, Puerto Rico and islands are not really
states and have ISO country codes, so should be listed as such.

This may have implications on users using these state codes right now,
but as part of shipping zones this change makes sense. You wouldn’t
ship to Guam for the same cost as the US. @BFTrick
2015-12-08 12:39:17 +00:00
Mike Jolley 485a127778 get_continents 2015-12-08 11:15:02 +00:00
Mike Jolley 61c3e74d4f srcset should not be set to 'false' 2015-12-07 11:57:02 +00:00
Mike Jolley dd2fe6ff49 Make WC_Abstract_Order::update_status() return boolean
closes #9777
2015-12-07 10:12:17 +00:00
Mike Jolley f183df1b13 Remove line breaks 2015-12-07 10:01:44 +00:00
Mike Jolley eb0a5e1d87 Merge pull request #9770 from woothemes/issue/9769-set-current-gateway-php-fatal
Avoid PHP errors when setting the current gateway.
2015-12-07 10:00:44 +00:00
Mike Jolley 38df188848 Merge pull request #9778 from ardalann/patch-1
Corrected @see comments
2015-12-07 09:47:12 +00:00
Mike Jolley 3d2910c33b Merge pull request #9780 from coenjacobs/fix/php-strict-standards-end
End function requires variable to prevent strict standards errors
2015-12-07 09:38:07 +00:00
Coen Jacobs bae582e3ff End function requires variable to prevent strict standards errors
Just a temporary variable that is only used to pass an actual variable
to the PHP end function (as that takes a reference as argument). This
prevents strict standard errors.
2015-12-07 08:10:19 +01:00
ardalann 52436a093c Corrected @see comments 2015-12-06 20:03:40 -07:00
Jeff Stieler 9635f244de Avoid PHP errors when setting the current gateway. 2015-12-04 18:17:33 -07:00
Claudio Sanches 792e3605fe Merge pull request #9766 from shivapoudel/widget-sanitize
Format the value based on widget settings type
2015-12-04 21:59:28 -02:00
Shiva Poudel 88d7713a86 Modified checkbox class value from widefat 2015-12-05 05:26:28 +05:45
Shiva Poudel 69d6a25f5e Refactor to format the value based on widget settings type 2015-12-05 05:25:51 +05:45
Claudio Sanches b31e15e48b Fixed docblock versions 2015-12-04 21:18:06 -02:00
Claudio Sanches d15c711855 Merge branch 'master' of github.com:woothemes/woocommerce 2015-12-04 21:17:47 -02:00
Claudio Sanches 3a19cf6c28 Merge pull request #9765 from maxrice/wc-product-get-id
Introduce WC_Product::get_id() method
2015-12-04 21:16:13 -02:00
Max Rice 3befe1426f Introduce WC_Product::get_id() method 2015-12-04 15:17:25 -05:00
Claudio Sanches 92582e21cb Properly sanitize textarea field for widgets #9762 2015-12-04 17:14:42 -02:00
Claudio Sanches 0f5c70e33f Merge pull request #9762 from shivapoudel/widget-textarea
Added textarea widget form field
2015-12-04 17:14:12 -02:00
Mike Jolley 7f3b65885b POT 2015-12-04 19:10:22 +00:00
Claudio Sanches 11ce0fb18c [API] Added endpoint to allow delete product attribute terms 2015-12-04 17:01:49 -02:00
Claudio Sanches 4d57d6f4db [API] Added endpoint to allow edit product attribute terms 2015-12-04 16:53:17 -02:00
Claudio Sanches 20efee8cd4 [API] Added endpoint to create product attribute terms 2015-12-04 16:38:17 -02:00
Claudio Sanches 1d0d2258d0 [API] Created method to get a single product attribute term 2015-12-04 16:14:57 -02:00
Claudio Sanches b530449774 [API] Created method to get product attribute terms 2015-12-04 16:02:31 -02:00
Claudio Sanches a7cfcddd95 Created wc_attribute_taxonomy_name_by_id() function 2015-12-04 16:02:07 -02:00
Shiva Poudel b3cd28e323 Added textarea widget form field 2015-12-04 21:23:19 +05:45
Mike Jolley 1c364e79e4 Enforce min and max
Closes #9761
2015-12-04 14:53:25 +00:00
Claudio Sanches d01f1eea3c Fixed webhook "Delete Permanently" link
cc @mikejolley
2015-12-04 12:41:35 -02:00
Claudio Sanches 805ac71cf3 Merge branch 'master' of github.com:woothemes/woocommerce 2015-12-04 12:39:22 -02:00
Claudio Sanches fe9320ffa3 [2.4] Fixed webhook trash link by allowing post type ui, closes #9759 2015-12-04 12:39:12 -02:00
Mike Jolley 1b5af9e188 Output the wp.template instead of passing in 2015-12-04 14:28:32 +00:00
Mike Jolley 3ae614c5a8 Wrap is Always visible since 2.5.0 2015-12-04 13:45:47 +00:00
Mike Jolley 6cb11d5cc0 Use wc_get_template_html 2015-12-04 13:39:57 +00:00
Mike Jolley 0ebba8b0be flip desc and price 2015-12-04 13:34:38 +00:00
Mike Jolley b7d8091a44 pass full variation object into script instead of parts 2015-12-04 13:31:36 +00:00
Mike Jolley 2c023a2847 Pass the wp.template to the script and append so its added to the page once when needed 2015-12-04 13:26:44 +00:00
Mike Jolley 885dab8efc wc_get_template_html - New helper to get the html from a template file 2015-12-04 13:26:24 +00:00
Mike Jolley bcdce81606 Ping webhook delivery URL on save and show errors
Closes #9751 @claudiosmweb
2015-12-04 12:47:30 +00:00
Mike Jolley 398cde4770 Merge remote-tracking branch 'origin/master' 2015-12-04 12:06:00 +00:00
Mike Jolley b09851c642 Merge branch 'pr/9749' 2015-12-04 12:05:55 +00:00
Mike Jolley 1ade6adf71 Unused line 2015-12-04 12:05:48 +00:00
Mike Jolley 67cdf834dc Merge pull request #9755 from woothemes/add/allow-checkout-refresh-without-failure-result
Allow plugins to force a reload of the checkout page without an error condition.
2015-12-04 12:01:11 +00:00
Mike Jolley 9f53a2bf25 Merge pull request #9754 from pmgarman/add-virtual-filter
Allow WC_Product::is_virtual() to be filtered
2015-12-04 11:54:16 +00:00
Mike Jolley 948a8f5c47 Filters for loop add to cart
Closes #9753
2015-12-04 11:50:37 +00:00
Jeff Stieler e334d75591 Allow plugins to force a reload of the checkout page without an error condition. 2015-12-03 18:20:22 -08:00
Patrick Garman eb3dc97df9 Add filter to WC_Product::is_virtual() 2015-12-03 20:52:27 -05:00