Commit Graph

33541 Commits

Author SHA1 Message Date
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
Julia Amosova f95e3c0e11 More Travis + Docker setup tweaks 2019-12-03 19:17:32 +00:00
Julia Amosova 4b26146613 Additional Travis + Docker setup tweaks 2019-12-03 19:07:43 +00:00
Bero df21888b59 check if isset folder_exists in move_product step 2019-12-03 20:03:17 +01:00
Julia Amosova 37e367f379 Resolve conflicts with master branch 2019-12-03 18:49:28 +00:00
Julia Amosova 4c8c4a8dbf Adjust Travis + Docker setup 2019-12-03 18:43:33 +00: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
Rodrigo Primo 567b667acf Improve wc_print_notices() test coverage 2019-12-03 15:29:10 -03:00
Claudio Sanches 6a395e2485
Merge pull request #25064 from woocommerce/fix/24315
Optimize variable product duplication slug generation
2019-12-03 15:28:55 -03:00
Claudio Sanches cd4b2ac5b8
Merge pull request #25084 from woocommerce/fix/25004
Fixed manual sorting for products shortcode
2019-12-03 15:15:30 -03:00
Claudio Sanches 329c587c5f
Merge pull request #25103 from woocommerce/fix/24417
Fixed media element initialization for product variation descriptions
2019-12-03 15:11:02 -03:00
Christopher Allford 91877b8f42 Revert "Changed the default sorting for the products shortcode to "menu_order""
This reverts commit 4a8645c9b4.
2019-12-03 09:54:23 -08:00
Claudio Sanches 15ffaeee6b
Merge pull request #25101 from woocommerce/remove-call_user_func_array
Remove a few calls to func_get_args() and call_user_func_array()
2019-12-03 14:51:43 -03:00
Rodrigo Primo 02ae8d1206
Merge pull request #24292 from woocommerce/fix/24116
Prevent PHP notices in WooCommerce widgets using Gutenberg's Legacy Widget Block
2019-12-03 14:25:05 -03:00
Rodrigo Primo 123169baa5
Merge pull request #24892 from woocommerce/update/check-textdomain
Check text domains in libraries
2019-12-03 14:12:07 -03:00
Claudio Sanches cbeb95379e Fixed PHPCS warnings and code clean up 2019-12-03 14:04:15 -03:00
Rodrigo Primo 042e88d31e Ignore bin/ directory when generating WooCommerce zip file for GitHub
Files and directories that are used for development should not be part
of the final package.
2019-12-03 14:00:36 -03:00
Rodrigo Primo c6f296151e
Merge pull request #25130 from woocommerce/fix/exclude-renovate-from-packages
Ignore renovate.json while generating packages
2019-12-03 13:58:52 -03:00
Claudio Sanches ee59e6d690
Merge pull request #25158 from woocommerce/new/woocommerce_order_payment_status_changed
Add woocommerce_order_payment_status_changed action
2019-12-03 13:56:35 -03:00
Gerhard da33f216ea PHPCS fixes 2019-12-03 16:22:13 +02:00
Gerhard 1f678767a9 Introduce woocommerce_order_payment_status_changed action and logic around it when an order progresess from a pending payment to a paid status, in prep for Order status work. 2019-12-03 16:20:24 +02:00
Justas Butkus 34f54071bb Revert "Build the REST API URL before checking for wccom-site"
This reverts commit 0674b421ec.
2019-12-03 09:20:28 +02:00
Claudio Sanches 3122d28472 Fixed text domains 2019-12-02 18:38:21 -03:00
Rodrigo Primo fd10af0669
Merge pull request #24822 from bobmulder/patch-1
Make variables default to allow overriding
2019-12-02 18:15:49 -03:00
Rodrigo Primo 7edd0561d3
Merge pull request #25098 from woocommerce/fix/wccom-back-url-encode
Url encode "wccom-back" param in in-app purchase product link
2019-12-02 18:00:55 -03:00
Claudio Sanches af849fbd8a
Merge pull request #25112 from woocommerce/add/wccom-installer-api-error-code
Improve error codes for plugin installer API authentication
2019-12-02 17:46:31 -03:00
Claudio Sanches 0674b421ec Build the REST API URL before checking for wccom-site 2019-12-02 17:37:48 -03:00
Rodrigo Primo 00896ffb11
Merge pull request #25026 from woocommerce/fix/25022
Made usage tracking link in setup more transparent
2019-12-02 17:19:10 -03:00
Rodrigo Primo 10e1c61731
Merge pull request #25071 from woocommerce/add/tracks-processing-orders
Include processing orders in tracker data.
2019-12-02 17:09:57 -03:00
Claudio Sanches 2133ae9acb
Merge pull request #25132 from woocommerce/fix/24812
Added empty categories to the product exporter admin view
2019-12-02 17:01:41 -03:00
Justas Butkus e0613db386 Account for early start-up phase
Using `$wp` doesn't work in certain scenarios, where the entire system
didn't complete bootstrapping.
The raw query, after escaping the values, should sufficiently cater for
the need.
2019-12-02 21:56:42 +02:00
Rodrigo Primo c86116a001
Merge pull request #24986 from woocommerce/fix-variation-missing-image-notice
Prevent notice in PHP 7.4 when a variable product has no images
2019-12-02 16:53:41 -03:00
Rodrigo Primo 86f59dff09
Merge pull request #24961 from woocommerce/fix/admin-caching-incr
Changed wp_cache invalidation from using increment to using microtime.
2019-12-02 15:32:17 -03:00
Claudio Sanches c6b2581a0c
Merge pull request #25140 from bgrgicak/update/wccom-6777
Return folder_exists error as success
2019-12-02 15:25:34 -03:00
Rodrigo Primo ebc9551c6e
Merge pull request #24849 from woocommerce/feature/24839
Introduced woocommerce_kses_notice_allowed_tags filter
2019-12-02 15:21:59 -03:00
Rodrigo Primo 7aa7453cde
Merge pull request #25148 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.7.3
2019-12-02 15:02:16 -03:00
Rodrigo Primo 5a71147840
Merge pull request #25120 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.5.0
2019-12-02 15:01:40 -03:00
Rodrigo Primo a7f4733f4b
Merge pull request #25108 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6.7.2
2019-12-02 15:00:45 -03:00
Rodrigo Primo f81bdf8aeb
Merge pull request #25106 from woocommerce/renovate/grunt-rtlcss-2.x
Update dependency grunt-rtlcss to v2.0.2
2019-12-02 15:00:06 -03:00
Julia Amosova f4afae89c6 Add store owner login in the cart page test 2019-12-02 17:54:45 +00:00
Julia Amosova 3ffaaea6f5 Resolving conflict with migration branch 2019-12-02 17:19:58 +00:00
Julia Amosova 3eb620282e Add store owner logout before running customer my account test 2019-12-02 16:05:22 +00:00
Bero 33d9f33fa3 folder_exists plugin info added 2019-12-02 16:11:44 +01:00
Rodrigo Primo 1ce283eb65 Use PHP 7.4 instead of PHP 7.4snapshot in Travis
This commit simply updates the PHP 7.4 version that is used in Travis
now that PHP 7.4 has been officially released. Previously we were using
RC versions to test the upcoming release.
2019-12-02 11:15:38 -03:00
Julia Amosova 3d4dc64d8d Update README with Docker setup details and running tests 2019-12-02 12:43:58 +00:00
Julia Amosova c93c7776f1 Add additional order verification by the store owner 2019-12-02 11:21:01 +00:00
Julia Amosova 435d64919b Add order verification by the store owner 2019-11-30 22:07:29 +00:00