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
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
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
Claudio Sanches
3122d28472
Fixed text domains
2019-12-02 18:38:21 -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
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
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
Bero
33d9f33fa3
folder_exists plugin info added
2019-12-02 16:11:44 +01:00
Bero
db112275c2
Return folder_exists error as success
2019-11-29 15:40:53 +01:00
Peter Fabian
309c48ab0e
Deprecated old cache function and replaced it with a new one.
2019-11-28 14:03:57 +01:00
Christopher Allford
44aed47f4d
Added empty categories to the product exporter admin view
2019-11-27 12:08:56 -08:00
Peter Fabian
278cf53f2f
Merge pull request #25125 from woocommerce/fix/25029.3
...
Fix select2 style and admin screen button alignments in WP 5.3
2019-11-27 17:58:46 +01:00
Peter Fabian
8379e46772
Merge pull request #24278 from woocommerce/fix/23299
...
Display schema for the latest 5 reviews inside product's schema
2019-11-27 17:56:54 +01:00
Peter Fabian
8a0a5805e4
Merge pull request #25085 from woocommerce/fix/24648
...
Improve WC & Twenty twenty compatibility
2019-11-27 17:54:44 +01:00
Viszt Péter
3d6c3b3551
Fixes for alignment issues on the settings screen introduced by WP 5.3
2019-11-27 13:05:20 +01:00
Peter Fabian
f50d8ffdd1
Fixed PHPCS.
2019-11-26 20:54:04 +01:00
Denis Dvali
4bc4faf7af
Adding new explicit error codes for WC.COM installer API authentication errors.
2019-11-25 19:32:10 +03:00
Denis Dvali
234bb9139f
Move "no permissions" error data (error code, message, http code) to
...
a constant within a dedicated error messages class.
2019-11-25 13:46:07 +03:00
Peter Fabian
f3892359f3
Make thumbnail larger, improve shop layout.
2019-11-24 09:51:15 +01:00
Rodrigo Primo
36cdc3cf8f
Simplify and modernize WC_Emails::queue_transactional_email()
...
This commit replaces calls to call_user_func_array() with the spread operation.
2019-11-22 15:25:44 -03:00
Rodrigo Primo
9bebc4e69e
Simplify and modernize wc_walk_category_dropdown_tree()
...
This commit replaces calls to call_user_func_array() and func_get_args() with the spread operation. Both to make more explicit that this is a variadic function and to do argument unpacking when calling the walker method.
2019-11-22 15:25:44 -03:00
Rodrigo Primo
193395ddf5
Simplify and modernize two methods
...
This commit replaces calls to call_user_func_array() with argument unpacking using the spread operator that was added in PHP 5.6 in the following methods:
- WC_Admin_Setup_Wizard::run_deferred_actions()
- WC_Mail::send()
2019-11-22 15:25:08 -03:00
Peter Fabian
9c74bf79ea
Rather than setting the background in CSS, use the color picked in the
...
customizer.
This also fixes the background in the block editor and tinymce.
2019-11-22 15:37:54 +01:00
Denis Dvali
0810c4a027
Url encode value of "wccom-back" GET param in product links on in-app marketplace.
2019-11-22 15:02:58 +03:00
Christopher Allford
a0c4d54b4a
Updated NonceVerification code sniff suppressions
...
The suppressions come in two flavors, a warning and an error. The suppressions have been updated to respect those states accordingly.
2019-11-21 09:19:56 -08:00
Christopher Allford
8066f43188
Merge branch 'master' into fix/25004
2019-11-21 08:14:03 -08:00
Rodrigo Primo
e292e95542
Update WPCS rule name that was change after an update
2019-11-21 12:17:10 -03:00
Rodrigo Primo
49b1294494
Simplify and modernize wc_print_r()
...
Replaces a call to call_user_func_array() with argument unpacking using the spread operator.
2019-11-21 12:04:08 -03:00
Rodrigo Primo
6cd08dc7bd
Use the spread operator instead of call_user_func_array() in WC_Data_Store
...
This commit replaces a call to call_user_func_array() in WC_Data_Store::__call() with argument unpacking using the spread operator which was introduced in PHP 5.6. This change should improve WooCommerce performance a tiny bit since WC_Data_Store::__call() is called somewhat frequently and call_user_func_array() has a bad performance reputation. I added one unit test to make sure this change doesn't break the functionality of the altered method.
2019-11-21 11:52:47 -03:00
Christopher Allford
8fd99a74b9
Added descriptive text to the usage tracking documentation link in the setup wizard
2019-11-20 12:47:56 -08:00
Christopher Allford
661f2b7722
Added a comment clarifying the suffix substring when checking slug uniqueness
2019-11-20 10:02:34 -08:00
Christopher Allford
55f49ae26a
Added an appropriate @since tag to the generate_unique_slug method
2019-11-20 09:55:35 -08:00
Christopher Allford
4a8645c9b4
Changed the default sorting for the products shortcode to "menu_order"
...
In order to take advantage of the "Sorting" admin feature, we need to make use of the menu order sorting. Initially we were using the title, which would ignore whatever the user set.
2019-11-20 09:19:54 -08:00
Christopher Allford
b12574e9e4
Fixed code sniffs
2019-11-20 08:16:19 -08:00
Christopher Allford
358825f006
Added a transient clear when product ordering is changed
2019-11-20 06:50:32 -08:00
Gerhard Potgieter
95a0a4c0a4
Merge pull request #24930 from arnofo/feature/empty-cart-action-new-parameter
...
pass the clear persistent cart variable to the cart emptied actions
2019-11-20 12:52:36 +02:00
Gerhard Potgieter
3e116716cd
Merge pull request #24944 from AdelDima/patch-1
...
Update abstract-wc-csv-batch-exporter.php
2019-11-20 12:33:40 +02:00
Peter Fabian
daf4a53acf
Make single images larger.
2019-11-19 19:36:10 +01:00
Peter Fabian
bc04b8f45b
Added basic declaration for WC support to Twentytwenty.
2019-11-19 17:58:16 +01:00