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
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
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
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
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
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
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
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
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
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
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
Paul Dechov
7f65a33fe8
Honor tax rounding preference in edit item and refund flows
...
The default value ('no') of the setting to round taxes at subtotal was not being honored on the Edit Order screen, which resulted in off-by-one discrepancies between the checkout item total and the edited or refunded item total.
This change is to round to the proper precision (w.r.t. the 'woocommerce_tax_round_at_subtotal' setting) for the default value of the form, as well as when the values are dynamically recomputed.
2019-11-25 17:49:43 +05:30
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
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
Justin Shreve
1fabf2f145
Handle PR feedback
2019-11-21 12:23:05 -05:00
Justin Shreve
ff68f30c2c
Update opt-in value to 'yes'
2019-11-21 12:00:05 -05:00
Justin Shreve
18925f2218
Adds an a/b test for the new onboarding experience
2019-11-21 12:00:04 -05: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
Rodrigo Primo
81187dc359
Merge pull request #25062 from itzmekhokan/fix/25056
...
Fixed issue #25056
2019-11-19 11:58:25 -03:00
Christopher Allford
753f39ff27
Added unique slug generation for variable product duplication
...
The standard wp_unique_post_slug() function will run one query per name collision, leading to a large number of queries being made when a product template is duplicated repeatedly. We can avoid this by doing the unique generation ourselves.
2019-11-18 13:49:41 -08:00
Christopher Allford
7f44e23813
Resolved all of the phpcs errors
2019-11-18 13:43:03 -08:00
khokan-cn
55e2a0e199
Fixed issue #25056
2019-11-18 18:03:59 +05:30
Claudio Sanches
ba0773d12e
Apply wc_get_product_classname() in the current code base
2019-11-13 15:30:09 -03:00
Claudio Sanches
0624894462
Introduced hooks before and after settings form
2019-11-13 13:20:18 -03:00
Christopher Allford
357cd28b77
Made the usage tracking information link in the setup wizard more transparent
2019-11-12 13:27:31 -08:00
Gerhard
40faecc8e7
Add show_invalid_variations_notice filter to hide the invalid variations notice.
2019-10-30 15:17:31 +02:00
Kathy Daring
e55af6431c
Add woocommerce_admin_process_variation_object before $variation->save()
2019-10-29 11:50:52 -06:00
Vedanshu Jain
8b04f37d22
Merge pull request #24810 from woocommerce/add/in-app-purchases-subs-cache-cleaning
...
Clean subscriptions' cache for auto-install flow
2019-10-25 10:27:47 +04:00
Akshaya Rane
19e3131d5e
Modified comment message
2019-10-22 10:56:08 +05:30
Akshaya Rane
b8cdeb2164
Fixed standards error
2019-10-22 00:21:44 +05:30
Akshaya Rane
8ed29fad7f
refs #24638 Fixed Stock status update on Bulk Edit
2019-10-21 22:45:05 +05:30
Julia Amosova
14e5d6b3ea
Capitalize `T` in `Move to trash` on order page
2019-10-18 14:44:47 +01:00
Rodrigo Primo
bb4ded8324
Update links to bug report and feature request issue templates
...
The name of the bug report and feature request issue templates was
changed in #24844 . This commit updates two places where links pointing
to those templates were outdated.
2019-10-17 16:28:01 -03:00
tgglv
b3c5dec0e7
Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning
2019-10-17 09:52:41 +05:00
Claudio Sanches
0112ee58a3
Merge pull request #24843 from sisou/patch-2
...
Use full year and 24h format in order note tooltip
2019-10-16 17:05:58 -03:00
Claudio Sanches
63c2bdafd2
Merge pull request #24793 from xristos3490/fix/24791
...
Fix/24791
2019-10-16 15:41:51 -03:00
tgglv
2ca1aeac42
Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning
2019-10-16 20:14:54 +05:00
Sören Schwert
8d0e37e6ca
Use full year and 24h format in order note tooltip
2019-10-16 14:59:36 +02:00
vedanshujain
451139e68e
Use MIN_PHP and MIN_WP constants in PHP_MIN_REQUIREMENT value so that we don't have to change it everytime.
2019-10-15 16:07:03 +05:30
vedanshujain
ec490409ea
Refactor to use constant so that we have easy way to reset admin notice version
2019-10-15 16:07:02 +05:30
xristos3490
9eafb785e9
Cleanup
2019-10-15 12:37:21 +03:00
xristos3490
16dac4864b
Add use of wp_unslash
2019-10-15 12:36:14 +03:00
tgglv
c277696b65
Make WCCOM helper subs cache cleaning public
...
Relates: https://github.com/Automattic/woocommerce.com/issues/6535
2019-10-11 17:59:39 +05:00
xristos3490
4e2205e17d
Fix file perms
2019-10-09 11:26:32 +03:00
xristos3490
d776c19dd4
Replace stripslashes with stripslashes_deep on non-scalar setting values
2019-10-09 11:25:41 +03:00
Gerhard Potgieter
2d796f825e
Merge pull request #24760 from jorostoyanov/jorostoyanov-patch-1
...
Add woocommerce_after_order_refund_item_name hook
2019-10-08 11:21:51 +02:00
Joro Stoyanov
5c55eea31c
Add woocommerce_after_order_refund_item_name hook
2019-10-03 08:53:10 +03:00
Claudio Sanches
78452a3f0f
Fixed post type count only when avaliable in REST API
2019-10-02 15:03:46 -03:00
Claudio Sanches
71d7ac5741
Removed duplicated include of WC_Admin_Importers
2019-10-02 11:35:27 -03:00
Vedanshu Jain
f15353cce5
Merge pull request #24745 from woocommerce/fix/24489
...
Also consider refunded item quantity while increasing stock.
2019-10-02 18:39:03 +05:30
vedanshujain
3c7e74f72d
Return early when diff is 0.
...
Earlier we were also update `_reduced_stock` meta everytime, but we don't need to when diff is 0 because this means that everything is already consistent.
2019-10-02 17:24:16 +05:30
Nico Mollet
8365365037
Removed space at the end of the line
2019-10-02 13:42:26 +02:00
Nico Mollet
5bcc35c24e
Coupon expiry date tooltip to help understand behaviour
...
Help understand if the date is included or excluded
2019-10-02 11:48:15 +02:00
Vedanshu Jain
7bb1a0babd
Merge pull request #24536 from nikhil-webkul/patch-3
...
Add back post type count to system status report
2019-10-02 14:47:48 +05:30
vedanshujain
d2d0bf8466
Also consider refunded item quantity while increasing stock.
...
When updating an order, we call `wc_maybe_adjust_line_item_product_stock` to see if any item stock needs adjusting. We were not considering if an item has been refunded, which was causing incorrect stock adjustments.
This fix also takes in to account that an order has been refunded partially or fully.
Fixes #24489
2019-10-02 13:42:19 +05:30
Gerhard
6d09d0efcf
Fix OWB sell in person vertical alignment
2019-09-30 19:31:50 +05:30
Vedanshu Jain
436ee5de3a
Merge pull request #24680 from woocommerce/update/tracking-opt-in
...
Update usage tracking UI, default to opted-out.
2019-09-30 09:14:56 +05:30
Rodrigo Primo
364661df4e
Merge pull request #24614 from yash-webkul/patch-3
...
Fixed escaping in class-wc-admin-dashboard.php
2019-09-26 13:41:34 -03:00
Justin Shreve
9dfdfbf532
Check the box if the user goes back to setup and previously checked it
2019-09-26 11:31:46 -04:00
Yash Kapoor
3ed83341fc
Fixed escaping in class-wc-admin-dashboard.php
...
Added that space which was removed in previous commit by mistake.
2019-09-26 10:12:34 +05:30
Rodrigo Primo
6f1b814b33
Merge pull request #24613 from yash-webkul/patch-1
...
Fixed escaping.
2019-09-25 20:29:00 -03:00
aaronlad
6bca35ddbe
fix #24671
2019-09-25 18:28:32 +01:00
Justin Shreve
0c3fc315c5
Update tracking opt-in UI.
2019-09-24 14:26:21 -04:00
Rodrigo Primo
1b699621be
Merge pull request #24639 from itowhid06/master
...
use `esc_html__` instead of `esc_html`
2019-09-23 12:32:23 -03:00
Rodrigo Primo
7cb614b41d
Merge pull request #24630 from nikhil-webkul/patch-5
...
Update class-wc-meta-box-product-images.php
2019-09-23 12:30:43 -03:00
Rodrigo Primo
5681cfe70c
Merge pull request #24618 from yash-webkul/patch-14
...
Added escaping.
2019-09-23 12:24:23 -03:00
Rodrigo Primo
01b86568aa
Merge pull request #24616 from yash-webkul/patch-13
...
Fixed escaping function.
2019-09-23 12:22:27 -03:00
Rodrigo Primo
36f691e7de
Merge pull request #24615 from yash-webkul/patch-4
...
Added escaping.
2019-09-23 12:20:41 -03:00
Towhidul Islam
780584230a
use `esc_html__` instead of `esc_html`
2019-09-15 21:27:49 +06:00
Nikhil Chaudhary
951c57ada1
Update class-wc-meta-box-product-images.php
...
Added escaping function where required.
2019-09-14 09:13:48 +05:30
Yash Kapoor
df8c0855a4
Added escaping.
2019-09-11 15:37:39 +05:30
Yash Kapoor
5c1a64026a
Fixed escaping function.
2019-09-11 15:12:34 +05:30
Yash Kapoor
e8c6fd272b
Added escaping.
2019-09-11 15:06:00 +05:30
Yash Kapoor
6ed6a753db
Fixed escaping in class-wc-admin-dashboard.php
2019-09-11 15:02:10 +05:30
Yash Kapoor
07ce4b9e1c
Fixed escaping.
2019-09-11 14:53:52 +05:30
itzmekhokan
5a54c87c55
Fixed issue #24588
2019-09-07 12:23:33 +05:30
Rodrigo Primo
fe2ec80b18
Merge pull request #24546 from woocommerce/fix/24534
...
Fixed markup in Storefront banner
2019-09-06 12:11:03 -03:00
Claudio Sanches
d13d6543f7
Merge pull request #24451 from woocommerce/add/in-app-connect
...
Add support to allow connect and install for in-app purchase flow.
2019-09-03 21:33:39 -03:00
Claudio Sanches
0ea56e0bab
Fixed coding standards
2019-08-30 14:33:59 -03:00
Claudio Sanches
49af62ba8b
Allow some HTML markup on addons banner
2019-08-30 14:29:08 -03:00
Nikhil Chaudhary
47e3f9bd3b
Update html-admin-page-status-report.php
...
Added the missing post type count section.
2019-08-30 11:46:04 +05:30
Nikhil Chaudhary
f2f0db602b
Update class-wc-admin-duplicate-product.php
...
Add escaping where required.
2019-08-29 12:39:09 +05:30
Claudio Sanches
e545833c0a
Merge pull request #24524 from yash-webkul/patch-22
...
Update html-variation-admin.php
2019-08-28 12:51:58 -03:00
Claudio Sanches
866a48db00
Merge pull request #24523 from yash-webkul/patch-21
...
Update class-wc-admin-addons.php
2019-08-28 12:45:24 -03:00
Claudio Sanches
ec1ba8db9c
Merge pull request #24522 from yash-webkul/patch-20
...
Update html-admin-page-addons.php
2019-08-28 12:45:06 -03:00
Claudio Sanches
0453cca9fd
Merge pull request #24521 from yash-webkul/patch-18
...
Update class-wc-admin-setup-wizard.php
2019-08-28 12:44:29 -03:00
Yash Kapoor
be141f3231
Update html-variation-admin.php
...
Fixed escaping function for attribute value.
2019-08-28 19:43:02 +05:30
Yash Kapoor
84d2fb7df5
Update class-wc-admin-addons.php
...
Fixed escaping function for attribute value.
2019-08-28 19:31:58 +05:30
Yash Kapoor
18208163d6
Update html-admin-page-addons.php
...
Fixed escaping function for attribute value.
2019-08-28 19:26:36 +05:30
Yash Kapoor
83b5450ceb
Update html-admin-page-shipping-zone-methods.php
...
Fixed escaping function for attribute values.
2019-08-28 19:23:01 +05:30
Yash Kapoor
6443515064
Update class-wc-admin-setup-wizard.php
...
Fixed escaping function for attribute values.
2019-08-28 19:16:24 +05:30
Claudio Sanches
cdd03f5f48
Merge pull request #24478 from marccoup/master
...
Fixed incorrect page setting id
2019-08-27 17:52:18 -03:00
Yash Kapoor
9517cd7877
Update html-product-csv-import-form.php
...
Fixed line indentation issue on line no 52.
2019-08-23 18:22:28 +05:30