Ron Rennick
c605b93737
add get single tax class, support cli tax class delete
2020-08-11 17:34:46 -03:00
Ron Rennick
8a1b8d6a3d
Merge pull request #26439 from kevinruscoe/add-additional-stock-cart-filter-messages
...
Add additional cart filters for stock actions
2020-08-10 16:34:24 -03:00
Ron Rennick
0b0595ab4c
Merge pull request #27048 from vallter2/postcode-bih
...
Add postcode validation for Bosnia and Herzegovina
2020-08-10 16:24:06 -03:00
Claudio Sanches
02cf0dfaed
Merge pull request #27239 from woocommerce/fix/package-tag
...
Fix usage of "package" tag in file headers
2020-08-07 13:37:24 -03:00
Claudio Sanches
def2ef499c
Master is 4.5.0 now
2020-08-07 12:55:51 -03:00
Néstor Soriano
459dd3fbf2
Merge pull request #27251 from woocommerce/fix/27226
...
Added woocommerce_order_item_quantity filter to ReserveStock::reserve_stock_for_order
2020-08-07 16:11:43 +02:00
Néstor Soriano
76cf1e4e93
Merge pull request #27140 from woocommerce/fix/23790
...
Always sanitize coupon code to prevent inconsistent between admins and shop owners
2020-08-07 12:42:02 +02:00
Néstor Soriano
a13a0d2187
Merge pull request #27179 from woocommerce/fix/26741
...
Release coupon holds when status it updated to cancelled regardless of recorded coupons
2020-08-07 11:27:45 +02:00
Claudio Sanches
2d2e40c484
Applied woocommerce_order_item_quantity to ReserveStock
2020-08-06 14:15:50 -03:00
vedanshujain
1966b0ba9a
Changed textdomain since API is merged into core now.
2020-08-06 18:18:18 +05:30
vedanshujain
cc96f6bbd1
Fix compatibility for WP 5.5
2020-08-06 14:34:03 +05:30
vedanshujain
1526771eaa
Load from Server class if available
2020-08-06 14:34:02 +05:30
vedanshujain
55a9687e6d
Make api included structure more linear.
2020-08-06 14:34:02 +05:30
vedanshujain
1d782f025e
Deprecate API Package class because its not a package anymore.
2020-08-06 14:34:02 +05:30
vedanshujain
16473d54e9
Fixes for correct time of loading API
2020-08-06 14:34:02 +05:30
vedanshujain
4a4767ae93
Load API files.
2020-08-06 14:34:02 +05:30
vedanshujain
222852dea6
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2020-08-06 14:06:29 +05:30
Claudio Sanches
525db3aa21
Fixed incorrect package tags
2020-08-05 17:49:10 -03:00
Claudio Sanches
f4b336a0f3
Fixed incorrect package
2020-08-05 13:51:37 -03:00
Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Claudio Sanches
7f233951a5
Fixed class package tag
2020-08-04 22:30:11 -03:00
vedanshujain
1ada7d8b26
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2020-08-04 18:22:41 +05:30
Claudio Sanches
f5e1b4fa54
Update only if the code got changed
2020-08-03 11:28:27 -03:00
Claudio Sanches
93febdca19
Fixed option name
2020-08-03 11:27:38 -03:00
James Allan
d1c0f7774b
Remove duplicate function argument
2020-08-03 14:45:03 +10:00
Nestor Soriano
71fccd6a07
Fix: pagination controls not displaying in products list.
...
This bug was introduced in #26260 . The sequence is:
1. WC_Query::adjust_posts_count runs, to handle found_posts filter,
this indirectly executes wc_setup_loop.
2. At this point $GLOBALS['wp_query']->max_num_pages hasn't been set
yet, and has a value of 0. Thus the loop variable total_pages
is set to 0.
3. Later wc_setup_loop runs again and this time
$GLOBALS['wp_query']->max_num_pages is already set, but since
the loop variable total_pages already exists, it keeps its
value of 0.
4. The pagination controls never show if total_pages is less than 2.
The fix consists of hooking into the_posts to set the value of
total_pages again, at that point $GLOBALS['wp_query']->max_num_pages
is already set.
2020-07-31 16:40:25 +02:00
Néstor Soriano
add9fd791b
Merge pull request #27166 from xristos3490/fix/27163
...
[4.4] Pagination of custom product queries broken
2020-07-31 08:29:24 +02:00
Claudio Sanches
1cd84d6446
Merge branch 'master' into fix/23790
2020-07-30 16:46:01 -03:00
Claudio Sanches
891a0cf8e8
Merge pull request #27170 from woocommerce/fix/27167
...
Fixed - Fixed "Product type" dropdown from Product's data meta box on WP 5.5
2020-07-30 16:38:18 -03:00
Claudio Sanches
aa0b45358a
Fixed upgrade routine
2020-07-30 16:36:54 -03:00
Claudio Sanches
c574ea3364
Updated queries and fixed version
2020-07-30 16:23:39 -03:00
Claudio Sanches
0b45369bff
Improved migration script to avoid race condition
2020-07-30 16:17:23 -03:00
Claudio Sanches
cc8282a23f
Merge pull request #27142 from woocommerce/fix/25788
...
Improve order details UI to highlight "Paid" and "Net Payment" sections
2020-07-30 15:49:24 -03:00
Claudio Sanches
608fc8620d
Merge pull request #27172 from woocommerce/fix/27168
...
Let user stay in the same page after clicking to update WooCommerce
2020-07-30 15:48:27 -03:00
Claudio Sanches
77f8bb57a6
Check if there's a payment method title
2020-07-30 13:05:03 -03:00
Jonathan Sadowski
163e10253a
Release coupon holds when status it updated to cancelled regardless of recorded coupons
2020-07-30 10:35:23 -05:00
vedanshujain
3a63d75e0f
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2020-07-30 17:55:11 +05:30
Nestor Soriano
86c88f1750
Fix: incorrect adjustment of post count in WC_Query.
...
PR #26260 introduced a handler for 'found_posts' filter in WC_Query
class in order to adjust the count depending on the visibility
of variation products. However the handler incorrectly assumed
that the filter was triggered only when listing products, when
actually it's also triggered for any post type e.g. pages.
In these cases the post count was set to zero, which caused bugs.
Now the handler starts with the originally supplied posts count,
and only decrements it when a post is a product AND is not visible.
2020-07-30 09:32:28 +02:00
Claudio Sanches
bb131ace69
Clean cache
2020-07-29 23:14:50 -03:00
Claudio Sanches
5b48191eac
Batch update coupons
2020-07-29 23:07:00 -03:00
Claudio Sanches
a464b7aeab
Improved wc_get_current_admin_url()
...
- Replace "/wp-admin" with regex like on WP core.
- Remove "wc-hide-notice" from query args.
2020-07-29 21:01:39 -03:00
Claudio Sanches
c9f52a45eb
New wc_get_current_admin_url() function
2020-07-29 20:52:36 -03:00
Claudio Sanches
e26076af7b
Return to the current page after enabled or disabling db update notices
2020-07-29 20:37:27 -03:00
Claudio Sanches
d498341f0e
Added function to get current admin page
2020-07-29 20:37:12 -03:00
Claudio Sanches
97c7937fd9
Fixed "Product type" dropdown on WP 5.5
...
WP 5.5 doesn't introduce a <span> tag inside metaboxes headings
2020-07-29 19:12:02 -03:00
xristos3490
6485fc337c
Add docblock param
2020-07-29 18:30:26 +03:00
xristos3490
4d4b9e3432
Filter found_posts only on wc_query context
2020-07-29 18:21:36 +03:00
Néstor Soriano
d5bedd82b2
Merge pull request #27148 from woocommerce/fix/dont-request-translations-with-no-locales
...
Don't request empty locales list for plugin translations.
2020-07-29 16:23:06 +02:00
Néstor Soriano
0f134ca6a2
Merge pull request #27054 from woocommerce/fix/27036
...
add/update correct deprecated notices on existing deprecations
2020-07-29 15:20:24 +02:00
Joel Rowley
61abc7caab
Add dockblock to the woocommerce_file_download_method filter
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-07-28 14:28:15 -04:00