Commit Graph

33279 Commits

Author SHA1 Message Date
Gerhard Potgieter 8827dfb3a4
Merge pull request #24609 from JohnTendik/feature/24429
Added unload event to prevent reload during checkout (#24429)
2019-12-06 14:57:59 +02:00
Juancho Pestana b8217fa080 Fix #24365: Prevent billing address from being updated on shipping update. (#24374)
* Prevent billing address from being updated on shipping update.

* Set billing address if empty.

* Fix coding standard issue.

* Fixed missing tab
2019-12-05 21:17:01 -03:00
Claudio Sanches 6bdb7f7a83
Merge pull request #24271 from woocommerce/update/avoid-ajax-request-on-checkout-page-load-2
Eliminate update order AJAX request on checkout page load
2019-12-05 21:09:10 -03:00
Claudio Sanches 5dac360e8a
Merge pull request #24208 from woocommerce/fix/order-screen-tax-calculation-to-honor-rounding-setting
Honor tax rounding preference in edit item and refund flows
2019-12-05 20:52:48 -03:00
Claudio Sanches 2e94410dc4
Merge pull request #24683 from n-dawson/fix-archive-orderby-param
Refine static homepage check to exclude blog archive queries. Fixes #…
2019-12-05 20:41:59 -03:00
Claudio Sanches 4ea81923da
Merge pull request #24935 from woocommerce/fix/24845-wpcom-customizer
Do not run send_frame_options_header when on the customizer
2019-12-05 20:28:55 -03:00
Claudio Sanches 07424c3bac
Merge pull request #25178 from woocommerce/fix/24956-3
Raise exception when WC_Product_Variation is instantiated with the wrong ID
2019-12-05 17:14:07 -03:00
Rodrigo Primo 27915dd696 Exception when WC_Product_Variation is instantiated with the wrong type
This commits changes WC_Product_Variation to raise an exception when the
class is instantiated with an ID that belongs to a post object that is
not a product variation.

This is necessary to avoid problems like the one described in #24956
where passing a variable product ID to WC_Product_Variation would result
in transparently modifying the variable product title and excerpt.
2019-12-05 15:45:48 -03:00
Rodrigo Primo 61a843679a Fix WPCS violations automatically using phpcbf 2019-12-05 15:45:12 -03:00
Claudio Sanches 5a2aa228a6
Merge pull request #24765 from woocommerce/add-laos-subdivisions
Add subdivisions of Laos
2019-12-05 12:50:27 -03:00
Claudio Sanches d7e2a98aaf
Merge pull request #24828 from woocommerce/fix/24695
Adds shared code between Orders and Cart calculation logic.
2019-12-05 12:39:50 -03:00
Gerhard Potgieter 7d39222334
Merge pull request #25162 from woocommerce/fix/24018
Hid variable parent products from "Add Products" search on order page
2019-12-05 14:22:43 +02:00
Rodrigo Primo 6b61d5f025
Merge pull request #24934 from woocommerce/add/filter_invalid_variations_notice
Introduce show_invalid_variations_notice filter
2019-12-05 09:08:24 -03:00
Gerhard 216a86b558 Change filter name to woocommerce_show_invalid_variations_notice and also pass through the $product_object variable. 2019-12-05 08:08:07 +02:00
Christopher Allford b67d094601 Added support for comma-delimited lists of types to exclude 2019-12-04 14:39:41 -08:00
Rodrigo Primo e34601458b Bump template version after changes added in commit 1ba02bc 2019-12-04 18:47:57 -03:00
Rodrigo Primo efc99cab41
Merge pull request #25096 from BrandynL/add-hooks-to-lost-password-confirmation-page
add password confirmation do_actions
2019-12-04 18:47:02 -03:00
Claudio Sanches 383492d811
Merge pull request #25173 from woocommerce/feature/show-password-hover-on-wc-forms
Improvements and coding standards fixes for #24915
2019-12-04 17:03:08 -03:00
Claudio Sanches 0794ffd285 Fixed coding standards 2019-12-04 17:01:59 -03:00
Claudio Sanches c567b43098 Added padding to password field like WordPress core does 2019-12-04 17:01:19 -03:00
Claudio Sanches 9a3e6247a9
Merge pull request #24915 from BrandynL/show-password-hover-on-wc-forms
Show password hover on wc forms
2019-12-04 16:57:32 -03:00
Rodrigo Primo 3af024fc5c
Merge pull request #25031 from woocommerce/feature/24956
Introduced wc_get_product_object() helper
2019-12-04 16:53:04 -03:00
Rodrigo Primo aaea7b1c55
Merge pull request #25001 from woocommerce/feature/inline-notices
Initial support to inline notices
2019-12-04 16:50:40 -03:00
Rodrigo Primo fe0c1c441e
Merge pull request #24852 from JacobMC/remove_function_causing_php_error
Refactor to remove PHP 7 Error
2019-12-04 16:29:11 -03:00
Claudio Sanches e3b2d9f10c Merge branch 'master' into feature/inline-notices 2019-12-04 16:26:10 -03:00
Claudio Sanches 5fdb880831
Merge branch 'master' into feature/24956 2019-12-04 16:18:39 -03:00
Claudio Sanches 8033d5751e Changed wc_get_product_classname function name to wc_get_product_object 2019-12-04 16:15:16 -03:00
Claudio Sanches 55fd39d493
Merge pull request #25171 from woocommerce/revert-25089-fix/24009
Revert "Add support for '_held_for_checkout` records to prevent race conditions."
2019-12-04 16:03:45 -03:00
Claudio Sanches a12c25862b
Revert "Add support for '_held_for_checkout` records to prevent race conditions." 2019-12-04 16:03:05 -03:00
Claudio Sanches 0686e6f1cd
Merge pull request #25000 from woocommerce/feature/pay-button-support
Initial support for "pay button"
2019-12-04 16:02:02 -03:00
Claudio Sanches ea35451423
Merge pull request #25168 from woocommerce/feature/wc-placeholder-attrs
Improvements and coding standards fixes for #24937
2019-12-04 15:57:53 -03:00
Claudio Sanches f07ed76e43 Fixed coding standards 2019-12-04 15:53:48 -03:00
Rodrigo Primo 4af9a94129 PHPCS fixes 2019-12-04 15:52:20 -03:00
Claudio Sanches b76bebab8d Improved escaping and HTML formatting
Fixed coding standards
2019-12-04 15:52:00 -03:00
Claudio Sanches adbb4fd2d3
Merge pull request #24937 from jenkoian/wc-placeholder-attrs
Add support for custom attributes to wc_placeholder_img().
2019-12-04 15:42:41 -03:00
Claudio Sanches 24c473f932
Merge pull request #24991 from woocommerce/add/new-onboarding-ab-test
Onboarding - Show the new experience to 10% of new users
2019-12-04 11:00:23 -03:00
Christopher Allford d3a7266848 Hid variable product types from "Add Products" search on order management page 2019-12-03 14:17:51 -08:00
Christopher Allford d1e25c9118 Added support for excluding certain product types from AJAX product searches 2019-12-03 14:14:47 -08:00
Claudio Sanches 3519b5bd5c
Merge pull request #25049 from woocommerce/fix/24953
Prevent creating products before registering related post types and taxonomies.
2019-12-03 18:02:22 -03:00
Claudio Sanches 3beb581215
Merge pull request #25074 from woocommerce/fix/24959
Added Photoswipe and jQuery-UI CSS minification
2019-12-03 17:59:51 -03:00
Claudio Sanches 258066dc2b
Merge pull request #25077 from woocommerce/update/coupon-object-update-hook
Fix second param of action hook woocommerce_coupon_object_updated_props
2019-12-03 17:53:04 -03:00
Claudio Sanches 174a722adf
Merge pull request #25131 from woocommerce/remove-wccom-site-api-permalink-require
Remove permalink reliance
2019-12-03 17:48:23 -03:00
Claudio Sanches 924109b80c
Merge pull request #25160 from bgrgicak/update/wccom-6777
Fix PHP Notice:  Undefined index: folder_exists
2019-12-03 17:48:05 -03:00
Claudio Sanches 0c486785ad
Merge pull request #25089 from woocommerce/fix/24009
Add support for '_held_for_checkout` records to prevent race conditions.
2019-12-03 17:47:22 -03:00
Claudio Sanches df4eb9c817 Use wc_get_order() in unit tests, and fixed coding standards 2019-12-03 16:44:37 -03:00
Claudio Sanches 3d394dd72c Use wc_get_order() instead of "new WC_Order" 2019-12-03 16:43:00 -03:00
Claudio Sanches 988b72e461 Updated filter name to woocommerce_hold_stock_for_checkout
Also fixed coding standards
2019-12-03 16:38:17 -03:00
Bero df21888b59 check if isset folder_exists in move_product step 2019-12-03 20:03:17 +01:00
Claudio Sanches 8b64471f3a Remove extra variable 2019-12-03 15:35:06 -03:00
Claudio Sanches 8b06b3a1b0
Merge pull request #25159 from woocommerce/ignore-bin
Ignore bin/ directory when generating WooCommerce zip file for GitHub
2019-12-03 15:30:01 -03:00