Peter Fabian
0d7e5d1596
Merge pull request #28584 from woocommerce/add_orders_count_by_gateway
...
Track order counts by payment method
2021-01-19 11:45:02 +01:00
Peter Fabian
31a3b6a7ba
Fixed the deprecation version
2021-01-19 11:10:58 +01:00
Claudio Sanches
e6251955f2
Merge pull request #28840 from woocommerce/update/remove-untrusted-plugin-notice
...
Deactivate untested plugin's notices
2021-01-18 19:56:56 -03:00
Claudio Sanches
ea54d5ad5f
Merge pull request #28679 from woocommerce/fix/woocommerce-gutenberg-products-block-issues-3565
...
Show correct WooCommerce pages status if they are using blocks vs shortcode.
2021-01-18 19:26:34 -03:00
Claudio Sanches
8f0237e390
Update untested extensions modal notice
2021-01-18 19:23:59 -03:00
Claudio Sanches
13462932ae
Deactivate untrusted plugin's banner
2021-01-18 18:29:02 -03:00
Claudio Sanches
e9abfa1669
Fixed docblock of new hooks of 5.0
2021-01-18 13:44:15 -03:00
Roy Ho
4c548951f4
Merge pull request #28521 from woocommerce/fix/26475
...
Create additional download permissions on product save if needed
2021-01-18 06:51:57 -08:00
Roy Ho
56e67b1ef8
Merge pull request #28814 from woocommerce/fix/migration/27688
...
Add migration to fix incorrect product review count.
2021-01-18 06:48:46 -08:00
vedanshujain
5885e9a29e
Revert "pass email object to header and footer templates"
...
This reverts commit 8821bf41c5
.
2021-01-18 16:51:31 +05:30
Nestor Soriano
544df16588
Set exception message as translatable
2021-01-18 09:18:38 +01:00
vedanshujain
9f9475a18b
Addressed PR feedback.
...
1: Use placeholder to be able to use wpdb->prepare for IN query.
Update version number.
2021-01-18 10:29:42 +05:30
Claudio Sanches
29ccfd961b
Revert "Use %1$s instead of %s on regen description"
2021-01-15 20:27:03 -03:00
Claudio Sanches
b462b3c8ee
Merge pull request #28401 from bordoni/patch-2
...
Use %1$s instead of %s on regen description
2021-01-15 20:21:03 -03:00
Claudio Sanches
5ca7c51714
Merge pull request #28712 from woocommerce/add/config_merchant_email_notifications
...
Added merchant email note switch
2021-01-15 13:32:02 -03:00
Claudio Sanches
e698ed72fd
Merge pull request #28801 from liquidweb/refactor/shipping-zone-read
...
Refactor the WC_Shipping_Zone_Data_Store::read() method
2021-01-15 12:58:36 -03:00
Peter Fabian
02a2bbad71
Merge pull request #28799 from woocommerce/fix/issue-27789
...
Add notice to deprecate old reports closes #27789
2021-01-14 19:05:44 +01:00
jonathansadowski
e8552094c2
Merge pull request #28809 from woocommerce/fix/issue-27791
...
Prevent duplicate new order email from being sent when changing order…
2021-01-14 09:36:30 -06:00
roykho
5b4e3a2e2e
Add margin
2021-01-14 05:25:26 -08:00
vedanshujain
2e4f2ef478
Add migration function for fixing existing product review counts.
2021-01-14 18:35:14 +05:30
vedanshujain
23618b06ed
Add utility function for getting review counts in bulk for convinience.
...
Also refactors get_review_count_for_product to use the new method so that we only would have to maintain one method.
2021-01-14 18:27:41 +05:30
Néstor Soriano
b36a06ca08
Merge pull request #27844 from woocommerce/php8/use-custom-phpunit-7
...
[PHP 8] Use a custom version of PHPUnit 7 for PHP 8 compatibility
2021-01-14 11:46:01 +01:00
Nestor Soriano
8b0bd248d6
Attach hook for adjust_download_permissions from within init_hooks
...
The DownloadPermissionsAdjuster class hooks to adjust_download_permissions
from within its init method. However this method is executed only
if the class is resolved, otherwise the hooks doesn't get attached
and then the scheduled action is not serviced.
To solve this, the class is resolved from WooCommerce::init_hooks.
This requires a change in DownloadPermissionsAdjuster::init
to use wc_get_container()->get( LegacyProxy::class )->get_instance_of
instead of WC()->get_instance_of, since WC() can't be used from
WooCommerce::construct (which invokes init_hooks).
2021-01-14 11:40:11 +01:00
Nestor Soriano
c9ea5922e2
Add a comment to wc_ascii_uasort_comparison explaining why setlocale is needed.
2021-01-14 11:16:42 +01:00
budzanowski
f9cbc0ccac
Remove filters that we don't need yet.
2021-01-14 10:24:39 +01:00
roykho
218c799811
Prevent duplicate new order email from being sent when changing order status closes #27791
2021-01-13 14:13:57 -08:00
Roy Ho
0d2f478eab
Merge pull request #28690 from kevinruscoe/fix/28652
...
Ensure the orders status is reverted correctly when restoring it.
2021-01-13 13:54:26 -08:00
Kevin Ruscoe
a78c1ec99e
wp_untrash_post_status should be static as pointed out by roykho
2021-01-13 21:22:30 +00:00
Claudio Sanches
1f321f4a79
Merge pull request #28719 from raicem/update/featured-products-endpoint
...
Add Auth token for search/featured extensions requests
2021-01-13 18:13:25 -03:00
raicem
eb3ba820da
Use "wp_safe_remote_get" for sending search requests
2021-01-13 23:53:53 +03:00
Claudio Sanches
889e83e64c
Merge pull request #28698 from woocommerce/fix/28697
...
Add transient and action for proxying WC plugin activation hook
2021-01-13 16:49:51 -03:00
roykho
8e7a59d959
Change location of the notice so it shows up in all reports
2021-01-13 07:00:37 -08:00
Ilyas Foo
0e5596d1fc
Transient and action passes plugin filename
2021-01-13 09:52:17 +08:00
Steve Grunwell
8d3803452d
Refactor the WC_Shipping_Zone_Data_Store::read() method
...
This commit re-works the `WC_Shipping_Zone_Data_Store::read()` method in the following ways:
1. Remove a confusing conditional (`if ( 0 !== $zone->get_id() || '0' !== $zone->get_id() ) { ... }`)
2. Return early if we're dealing with Zone 0, eliminating additional conditional steps
3. Add documentation for the "woocommerce_shipping_zone_loaded" action hook
2021-01-12 12:53:22 -05:00
roykho
6041c10ea3
Add notice to deprecate old reports closes #27789
2021-01-12 07:37:00 -08:00
Nestor Soriano
10eb9f832e
Remove one of the duplicate handlers for 'adjust_download_permissions'
2021-01-12 10:15:53 +01:00
Roy Ho
d8b0a8558e
Merge pull request #28586 from idofri/phpdoc
...
Corrected data-types in phpdoc @param
2021-01-11 06:52:11 -08:00
Menaka S
950bfcdf39
Deprecate public function and remove private functions
2021-01-11 18:38:17 +05:30
Ido F
4be88bea4b
corrected token-id data-type
2021-01-10 16:40:24 +02:00
Menaka S
415e1e7bbf
Use site's posts_per_page size
2021-01-10 15:21:06 +05:30
Menaka S
003f4a0acb
Paginate while getting orders to calculate tracker data
2021-01-10 15:17:21 +05:30
Kevin Ruscoe
91ea67d94c
Clean array to make the list a little easier to understand
2021-01-09 15:11:25 +00:00
Kevin Ruscoe
0f7de7e7bf
Add 'product_variation' to the list of restored post types
2021-01-09 15:08:51 +00:00
Kevin Ruscoe
dd934afc2e
Add product to the list of post types that should revert their status upon being restored.
2021-01-09 14:49:29 +00:00
Roy Ho
9ebf70bf8d
Merge pull request #28646 from tivnet/patch-7
...
abstract_wc_order:add_product() - removed `throws`
2021-01-08 10:24:37 -08:00
Roy Ho
d4849c598c
Merge pull request #28692 from woocommerce/fix/28582
...
Add protective check to make sure WC()->session is initialized before loading the data store.
2021-01-08 07:55:35 -08:00
Menaka S
baace44f19
Remove the functio to get orders count by payment method
2021-01-08 19:45:46 +05:30
raicem
f0166fcc56
Fix indentation errors as per WordPress code style guides
2021-01-07 15:14:38 +03:00
vedanshujain
f8bcf6271d
Revert order and product controllers to use WP Post queries directly.
...
This commit revert some of the changes added in #27735 because wc_get_products and wc_get_orders is not fully compitable with API controller queries. Since we are close to release 4.9, its better to revert and fix them properly then rush a fix. This undones some the performance improvements we acheived in 27735, in favor of more stability, hopefully we will be able to restore this soon.
2021-01-07 16:47:54 +05:30
Rodrigo Primo
007f3ec8aa
Merge pull request #28706 from paulochang/patch-1
...
Remove post code from Guatemala
2021-01-06 17:58:23 -03:00