Commit Graph

4814 Commits

Author SHA1 Message Date
Mike Jolley 7def966e4f Impoved JSON handling 2019-02-20 12:00:47 +00:00
Paul Sealock 1b62228faf Tracks: Add a PHP client 2019-02-20 11:15:33 +13:00
Ron Rennick e9a98ce4ae fixes from review 2019-02-19 15:37:45 -04:00
Ron Rennick 4c7f61e123 phpcs except for ignore use of $_POST 2019-02-19 13:41:14 -04:00
Ron Rennick a2abe8783e check low_stock for empty string vs isset 2019-02-19 11:08:14 -04:00
Mike Jolley 5397e4ec1a
Merge pull request #22329 from woocommerce/enhancement-manual-stock-changes/21754
Product stock adjustments with manual order line item changes
2019-02-19 10:00:49 +00:00
haszari 9cd81c371e add header & footer to products empty suggestions box 2019-02-19 11:54:58 +13:00
haszari c7b630b1f8 update products list empty state (incl. suggestions) to latest designs 2019-02-19 10:46:44 +13:00
Mike Jolley 5bb5ae6265 Update from master 2019-02-18 16:54:24 +00:00
Mike Jolley ad12ddd2c2 wc_maybe_adjust_line_item_product_stock should return false if nothing happens 2019-02-18 16:45:55 +00:00
Mike Jolley 4fd2a9f77e Update from master 2019-02-18 15:04:58 +00:00
Mike Jolley 71d3121872 Performance: Support pagination to avoid double queries to search webhooks 2019-02-18 14:58:32 +00:00
Mike Jolley 14149e4d54 phpcs 2019-02-18 13:41:06 +00:00
Mike Jolley 3a4ef0a1d8 Avoid getting all webhook ids 2019-02-18 13:19:12 +00:00
haszari 4ea4e6591a ensure suggestion dismiss API / nonce is provided to js (missed in last commit) 2019-02-18 11:46:22 +13:00
Chris Kreidl 63492aa98b added IDs to other input fields for consistency 2019-02-16 22:59:33 -05:00
Mike Jolley 3d8c58e110 status_widget_stock_rows lookups 2019-02-15 13:37:51 +00:00
haszari 1fdc013525 products blank state - OBW style suggestions (missed in previous commit) 2019-02-14 15:44:28 +13:00
Mike Jolley 2abf39c6ae
Merge pull request #22704 from woocommerce/fix/22696
Custom payment sections not loading fields due to logic error.
2019-02-13 14:22:39 +00:00
Mike Jolley 569a41e58b
Merge pull request #22711 from woocommerce/fix/22656
Calculation issues on single product sales by product graph/report
2019-02-13 14:17:29 +00:00
haszari 42852d7b67 in-product discovery - enqueue styles as separate module 2019-02-13 12:18:39 +13:00
haszari 8b22f4b040 register underscore dependency for marketplace script 2019-02-13 11:30:43 +13:00
haszari 5671a6f7ca in-product discovery - don't promote extensions that are already installed:
- + move suggestions client code to a module, enqueued only on relevant pages
2019-02-13 10:39:27 +13:00
Mike Jolley 1fe8af6af6
Merge pull request #22663 from woocommerce/fix/22559
Switch span to paragraph in user profile view
2019-02-12 16:11:47 +00:00
haszari 792e32056c in-product discovery - render container for product-list suggestions 2019-02-12 16:10:21 +13:00
Ron Rennick b92cfc51a5 update product table to correctly calculate net product sales 2019-02-11 16:34:28 -04:00
Gerhard f6b1208a32 Custom payment sections not loading fields due to logic error. 2019-02-11 09:42:31 +02:00
Mike Jolley b2c33b8e34 Merge branch 'master' into performance/slow-term-queries 2019-02-07 13:49:48 +00:00
Peter Fabian c1d82478a6 Added check for POST variable existance. 2019-02-07 13:39:47 +01:00
Mike Jolley b2542d7e8c Missing rest api class in wizard 2019-02-05 17:41:17 +00:00
Mike Jolley b091a0975d Switch span to paragraph 2019-02-05 11:28:46 +00:00
Mike Jolley becd76d74f
Merge pull request #22649 from woocommerce/fix/obw-storefront-not-offered-with-wp-5-default-theme
OBW: Offer Storefront when WP 5.0 default theme is active
2019-02-05 10:43:46 +00:00
Mike Jolley c47a6b9172 Tools and status require rest API init 2019-02-04 16:04:25 +00:00
Paul Dechov 4164305b3c OBW: Offer Storefront when WP 5.0 default theme is active
Because the OBW hadn't been updated to consider Twenty Nineteen a default theme, Storefront was omitted from the 'Recommended' step on the basis of Twenty Nineteen's WooCommerce support.
2019-02-04 09:58:39 -05:00
Mike Jolley 893b33973c Merge branch 'fix/22147' 2019-02-04 13:05:40 +00:00
Mike Jolley 34dbf96847
Merge pull request #22410 from woocommerce/remove/simplify-commerce
Remove simplify commerce gateway from core
2019-02-04 11:23:23 +00:00
Mike Jolley aeb64b62bf
Merge pull request #22584 from jobthomas/jobthomas-ssr-urls
System Status URL naming and sorting now following WP core
2019-02-01 14:50:50 +00:00
Mike Jolley effa51829c
Merge pull request #22573 from outis/fix-expired-link
Fix: #22572-can't access settings ("The link you followed has expired")
2019-01-31 14:50:36 +00:00
Mike Jolley 8ed1dacdc9
Merge pull request #22581 from woocommerce/fix/22561
include refunded orders in top sellers, earners in sales by product report
2019-01-31 13:51:51 +00:00
Mike Jolley 1dea9d6f48 Merge branch 'enhancement/21758' 2019-01-31 13:44:35 +00:00
Mike Jolley a9bc5cf5ae
Merge pull request #22421 from woocommerce/update/22034
Clarify how discount is applied
2019-01-31 13:30:25 +00:00
Gerhard a2e4ca70b6 PHPCS fixes 2019-01-30 11:33:51 +02:00
Gerhard 429f515704 Introduce woocommerce_admin_report_customers_user_query_args and woocommerce_admin_report_customer_list_user_query_args filters to altering the queries running when retrieving users for reports. 2019-01-30 11:19:34 +02:00
Job 185041da87
Removed title case
As requested here by https://github.com/woocommerce/woocommerce/pull/22584#pullrequestreview-197707971
2019-01-29 20:40:59 +01:00
Rodrigo Primo c798ea9ea8 Fix phpcs errors 2019-01-28 15:20:22 -02:00
Job 2174937f4f
Translatable 2019-01-28 12:28:48 +01:00
Job b0aa198d4c
Updated system status report
Two changes:

* Followed the WP core order of mentioning wordpress URL and site URL
* Followed the WP core naming of these two URLs - confusingly the home URL in core is described be "Site Address ()"

![http://cld.wthms.co/xo5xtL](http://cld.wthms.co/xo5xtL+)
Link to image here: http://cld.wthms.co/xo5xtL.
2019-01-28 12:24:57 +01:00
Ron Rennick a93418b826 phpcs sniff fixes for class-wc-report-sales-by-product.php 2019-01-27 19:27:30 -04:00
Ron Rennick f42c42066b include refunded orders in top sellers, earners in sales by product report 2019-01-27 19:24:08 -04:00
Galen Wright-Watson 65bb805cbb Fix: #22572-can't access settings ("The link you followed has expired"). Cause: if anything adds to `$_POST`, this triggers WooCommerce to try to save settings; if there's no nonce, authorization fails, resulting in the message. Soln: check for specific element ('save') in `$_POST` to determine whether to save elements, rather than testing that `$_POST` is non-empty. 2019-01-25 18:08:00 -08:00
Mike Jolley 32ae0192e5 Use WP term meta functions 2019-01-25 20:47:54 +00:00
Mike Jolley 8823559880 get rid of old term meta table 2019-01-25 20:44:25 +00:00
Mike Jolley 8675f3195d Avoid inline sort 2019-01-25 19:51:45 +00:00
Mike Jolley 00a93ae8f0
Merge pull request #22112 from Prospress/fix/22101
Introduce wc_attribute_taxonomy_slug()
2019-01-23 21:57:07 +00:00
Mike Jolley 20330b01bd
Merge pull request #22531 from rellect/fix_ssl_check
Fix ssl check in case shop page no longer exists
2019-01-23 20:18:43 +00:00
Mike Jolley e9f0490829
Merge pull request #21719 from vyskoczilova/master
Custom settings on shipping section (#13463, #13461)
2019-01-23 17:07:13 +00:00
Mike Jolley 6a89a76c11 Merge 17796 2019-01-23 16:39:21 +00:00
Mike Jolley 9cdcc3f1e5
Merge pull request #21817 from woocommerce/feature/pages-gutenberg-support
Use shortcode block for WooCommerce default pages
2019-01-23 15:25:28 +00:00
Gerhard Potgieter f77e2d7316 Handle full refunds in the taxes by code report (#21843)
* Add full refund support to the taxes by code report.

* Some PHPCS fixes

* Do not include refund in initial tax lookup for report.

* Correct logic which loops orders

* match date report
2019-01-23 15:12:58 +00:00
Ron Rennick 8709351994 update function name to `wc_attribute_taxonomy_slug` 2019-01-23 11:11:27 -04:00
Ron Rennick b868b484f7 fix merge conflicts 2019-01-23 10:53:42 -04:00
Refael Iliaguyev 8f0f22c11b Fix ssl check in case shop page does not exists. 2019-01-23 16:08:13 +02:00
Mike Jolley e8710e4ad6
Merge pull request #22530 from treibalen/master
Change footer wording for WooCommerce emails
2019-01-23 13:28:31 +00:00
Mike Jolley 99f663ad5c
Merge pull request #22131 from willgorham/improve-shipping-zone-continents
Improve shipping zone continents [Fixes #22130]
2019-01-23 13:27:16 +00:00
treibalen 178c7a7a9c Change wording for WooCommerce emails
Change emails footer from "Powered by WooCommerce" to "Built with WooCommerce"
2019-01-23 13:50:08 +05:30
Will Gorham 45e7f344b1 Use shipping countries instead of selling countries 2019-01-22 13:51:35 -05:00
Mike Jolley 2a2863c5ba
Merge pull request #21648 from EmranAhmed/master
Add 3rd param on `woocommerce_product_option_terms` action to use custom attribute types on product attribute create
2019-01-22 18:28:24 +00:00
Mike Jolley e3a1c1c3c0
Merge pull request #22475 from woocommerce/add/22474
Add stock qty increase/decrease option to bulk edit
2019-01-22 15:20:44 +00:00
Mike Jolley 10518228aa
Merge pull request #22318 from Prospress/fix/21202
Only include the network orders widget on the main site dashboard
2019-01-22 14:38:46 +00:00
Mike Jolley 7ac26ce893
Merge pull request #22518 from Prospress/fix/21779_redux
Fix/21779 redux
2019-01-22 13:29:40 +00:00
Gerhard bfda9c0ac8 Use wc_update_product_stock instead of manually adding and subtracting. 2019-01-22 15:14:41 +02:00
Mike Jolley 4d4d34a2d1
Merge pull request #22514 from woocommerce/update/mailchimp-branding-setup-wizard
Updates Mailchimp branding in setup wizard
2019-01-22 12:39:24 +00:00
Mike Jolley 4c28ba612c
Merge pull request #21884 from woocommerce/add/wc-admin-taxonomy-instance/21883
Add WC_Admin_Taxonomies instance method
2019-01-22 12:01:33 +00:00
Ron Rennick c3879f0d63 only deduct refunded shipping, taxes once from gross to get net sales by date CSV 2019-01-21 15:44:53 -04:00
Ron Rennick aa9961695f phpcs sniff fixes for class-wc-report-orders-by-date.php 2019-01-21 15:36:29 -04:00
Mike Jolley e5af25e994
Merge pull request #21341 from kinging123/patch-2
Added action 'woocommerce_variation_header' after actions in variations list
2019-01-21 16:59:48 +00:00
Mike Jolley 6367d19615 phpcs 2019-01-21 08:11:40 -08:00
Gareth Allison 2dcc823e46 Updates mentions of "MailChimp"
Updates mentions of "MailChimp" to "Mailchimp" as per their branding guidelines: https://mailchimp.com/about/brand-assets/
2019-01-21 16:34:31 +02:00
Claudiu Lodromanean df2cd4b232
Merge pull request #22439 from woocommerce/fix/22430
Make sure WC active before running queries for MS widget
2019-01-16 09:38:24 -08:00
Claudiu Lodromanean f4d1587652
Merge pull request #22419 from woocommerce/fix/22010
Remove on-hold orders from tax reports
2019-01-16 09:37:09 -08:00
Mike Jolley 78ca5c0290
Merge pull request #22277 from johnrom/fix/22276
Add a filter, woocommerce_current_user_can_edit_customer_meta_fields
2019-01-16 16:31:18 +00:00
John Rom 741435d816 Switch user meta permissions filter from user data to user id 2019-01-16 11:20:42 -05:00
John Rom 130a36107c Added filter to the save method so it is not bypassable 2019-01-16 11:00:46 -05:00
John Rom 186a1d5b7e Combine permission conditions into a single filter provided the default value 2019-01-16 10:56:26 -05:00
Mike Jolley 213ba99664
Merge pull request #21961 from sebastianpisula/patch-1
New params for woocommerce_shipping_zone_*_methods_table actions
2019-01-16 13:01:45 +00:00
Gerhard 683111b4a5 PHPCS fixes 2019-01-16 11:32:00 +02:00
Gerhard 6b211ab25b Add increase and decrease stock qty option to bulk product edit. 2019-01-16 11:22:11 +02:00
Gerhard 6220399163 Switch to use v3 of the API for network orders. 2019-01-14 09:15:20 +02:00
Mike Jolley 12a73d4f8d Clarify how discount is applied 2019-01-11 14:43:32 +00:00
Gerhard cf38ed4aba Remove on-hold orders from tax reports as they are not paid yet. Tax reports should only contain paid orders. 2019-01-11 14:44:09 +02:00
Mike Jolley f4ed56a894
Merge pull request #21153 from jamesckemp/patch-12
`woocommerce_variation_option_name` Parameters
2019-01-10 12:28:21 +00:00
Mike Jolley 9d381d456b Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
Will Gorham 1fc4ef6c59 Clean up docblocks and unused vars 2019-01-09 12:54:37 -05:00
Will Gorham da6f425488 phpcs 2019-01-09 12:49:11 -05:00
Will Gorham 8051a0b0fc Only show available shipping continents in zone regions 2019-01-09 12:48:18 -05:00
Mike Jolley fe02144d0a
Merge pull request #21927 from woocommerce/add/21925
Make links in order notes clickable.
2019-01-09 16:52:37 +00:00
Mike Jolley 6e5a4201cf Merge branch 'pr/21635' 2019-01-08 15:30:31 +00:00
Mike Jolley 868e7841e6
Merge pull request #21860 from rellect/wc_case
Rename wc() to WC() for consistency
2019-01-08 14:29:59 +00:00
Mike Jolley a0aa663f29 Attribute post data needs stripslashes 2019-01-08 13:25:27 +00:00
Claudiu Lodromanean 2e1e77f6f0
Merge pull request #22330 from woocommerce/fix/21708
Add special button style for connect button
2019-01-07 11:40:31 -08:00
Mike Jolley 83f46aca15
Merge pull request #21887 from hannahswain/patch-1
Update external/affiliate URL placeholder from http to https
2019-01-07 12:44:45 +00:00
Mike Jolley 63bd02022f
Merge pull request #22084 from Prospress/fix/22075
Remove the stock data type on low stock threshold input which can be empty
2019-01-07 11:41:17 +00:00
Mike Jolley 8ad3491b99 Add option to control if remove personal data bulk action is allowed 2019-01-07 11:22:29 +00:00
Mike Jolley 9245687f6a Merge remote-tracking branch 'origin/master' into enhancement/erasure-setting-22055 2019-01-07 11:07:12 +00:00
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
Mike Jolley da32fe3b8a Include country name alongside states so selectwoo can search properly
Seems 'alt' was there in the hope select2 would search that but it's not possible without custom matchers. This instead will show state and country like this: `New York, United States.` This lets you find NY by searching for US
2019-01-04 11:05:29 +00:00
Mike Jolley ff3a852b7f Zones should use shipping countries, not allowed countries 2019-01-04 11:04:17 +00:00
Mike Jolley c4e071480a phpcs 2019-01-04 11:04:12 +00:00
Mike Jolley 58c3731030 Add special button style for connect button 2019-01-03 14:41:09 +00:00
Mike Jolley db0850a420 wc_maybe_adjust_line_item_product_stock helper 2019-01-03 13:40:22 +00:00
Mike Jolley 999f744d83 Allow notes to be updated after other order screen events 2019-01-03 11:46:43 +00:00
Claudiu Lodromanean d1964d5cb5
Merge pull request #22183 from codemascot/fix/22182
Fix for issue #22182
2019-01-02 12:00:35 -08:00
Ron Rennick 89855b749d Only include the network orders widget on the main site dashboard 2019-01-01 16:15:28 -04:00
Ron Rennick 4b44156882 phpcs sniff fixes excluding DB queries 2019-01-01 16:14:02 -04:00
John Rom 1055d79301 Add a filter, woocommerce_current_user_can_edit_customer_meta_fields, to bypass manage_woocommerce when editing customer meta fields 2018-12-20 11:06:33 -05:00
Rodrigo Primo ff74ecec86 Fix orders list in the admin
WP 5.0.2, which was released yesterday, sets `$query_vars['post_status']` to an empty string instead of leaving it unset (https://core.trac.wordpress.org/ticket/45719 and https://core.trac.wordpress.org/changeset/44185). This change broke the WC orders list in the admin when listing orders of all post statuses as we were checking if `$query_vars['post_status']` was not set to add all order statuses to this variable (125eaaf241/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L799)).

To workaround this problem, this commit changes the check to verify if `$query_vars['post_status']` is empty instead of verifying if it is not set.
2018-12-20 09:56:02 -02:00
Rodrigo Primo 948a1dc300 Fix PHPCS violations automatically using PHPCBF 2018-12-20 09:48:14 -02:00
Claudiu Lodromanean b70fed6868
Merge pull request #21669 from woocommerce/fix/helper-not-able-to-detect-local-woo-plugin
Add File Headers filter at 'plugins_loaded' hook so that WooCommerce Helper can detect all locally installed Woo plugins
2018-12-11 11:08:49 -08:00
Khan M Rashedun-Naby 50bb510c93 Fix for issue #22182 2018-12-10 00:47:49 +06:00
Rodrigo Primo 5da1b72464
Merge pull request #21913 from Prospress/fix/21909
Capitalize dashboard widget titles
2018-12-07 11:24:25 -02:00
Ron Rennick 33f25f83b5 phpcs sniff fixes, `wc_attribute_taxonomy_name_raw()` for class-wc-admin-importers.php 2018-12-03 11:31:59 -04:00
Adrian Jagusch 8732d200e1
Properly close option tag in customer search 2018-12-03 15:27:45 +01:00
Ron Rennick 267b5ed569 only include order erasure bulk action if erasure is enabled in settings 2018-11-29 16:20:56 -04:00
Ron Rennick 59c1b2f669 phpcs sniff fixes class-wc-admin-list-table-orders.php 2018-11-29 16:16:51 -04:00
Ron Rennick b7f87c8cd2 Remove the stock data type on low stock threshhold input which can be blank 2018-11-29 14:58:51 -04:00
Claudiu Lodromanean ebd6ecb95f
Merge pull request #22009 from woocommerce/php73-wp-nightly
Prepare WooCommerce for PHP 7.3
2018-11-27 09:12:39 -08:00
Rodrigo Primo a096e2729a
Merge pull request #21936 from woocommerce/fix/21878
Use wp_kses_post for sanitizing product names instead of esc_html
2018-11-22 10:54:57 -02:00
Rodrigo Primo 2c8d006c37 Update PHPCompatibility sniff names
The name of some sniffs changed in the most recent PHPCompatiblity version. This commit update all instances where those names are used in WooCommerce codebase.
2018-11-21 11:08:26 -02:00
Rodrigo Primo bfa9424d17 Update WPCS sniff name
The name of one of the WPCS sniffs changed from WordPress.CSRF.NonceVerification.NoNonceVerification to WordPress.Security.NonceVerification.NoNonceVerification. This commit updates all instances where this sniff is used in WooCommerce codebase.
2018-11-21 11:07:05 -02:00
Rodrigo Primo e467737653 phpcs fixes 2018-11-21 11:06:42 -02:00
Rodrigo Primo a9e532022a Replace `continue` inside `switch` statement with `break`
PHP 7.3 will generate a warning when `continue` is used inside a `switch` statement. For more information see the relevant section in https://make.wordpress.org/core/2018/10/15/wordpress-and-php-7-3/
2018-11-20 16:24:11 -02:00
Claudiu Lodromanean b585553ee9
Merge pull request #21864 from Prospress/fix/21457
allow export and display of attribute labels containing html special characters
2018-11-19 12:20:41 -08:00
Claudiu Lodromanean 0ddfbbe1ac
Merge pull request #21954 from willgorham/fix/21793
Fix hardcoded db table name [Fixes #21793]
2018-11-19 12:10:55 -08:00
Claudiu Lodromanean 4d93bf60e1
Merge pull request #21930 from woocommerce/update/21915
Add WP 5.0 checks to Wootenberg notices
2018-11-19 11:47:43 -08:00
Claudio Sanches ff762609e9 Fix how generate pages 2018-11-19 14:25:06 -02:00
sebastianpisula 9b5e7ae2c6
New params for woocommerce_shipping_zone_*_methods_table actions
Add $zone param to woocommerce_shipping_zone_before_methods_table and woocommerce_shipping_zone_after_methods_table action
2018-11-18 12:59:54 +01:00
Karolína Vyskočilová 45d2ddc5e8 phpcbf 2018-11-18 10:58:58 +01:00
Will Gorham 4b1dd35dda Revert "phpcs" (bc4010) - incorrect phpcs fixes
This reverts commit bc4010cfc1.
2018-11-16 15:20:57 -05:00
Will Gorham b53fe55299 More phpcs 2018-11-16 14:47:31 -05:00
Will Gorham bc4010cfc1 phpcs 2018-11-16 14:15:18 -05:00
Will Gorham 20526cba08 Fix hardcoded db table name 2018-11-16 14:15:04 -05:00
Valerie 94275039cd OBW: Fix ShipStation plugin info so install works 2018-11-16 14:06:58 -05:00
claudiulodro d09e9eb95c Use wp_kses_post for sanitizing product names instead of esc_html 2018-11-15 11:42:22 -08:00
claudiulodro 180ead91e4 Update notice wording for wp 5.0 2018-11-15 10:19:51 -08:00
Gerhard f2230da7d2 Use get_bloginfo( 'version' ) instead of wp_version global 2018-11-15 15:27:58 +02:00
Gerhard 341c0a8277 Add wp 5.0 checks to wootenberg notice checks. 2018-11-15 15:26:19 +02:00
Gerhard fae1e1cce1 Make links in order notes clickable. 2018-11-15 14:27:26 +02:00
Claudiu Lodromanean 81be4f4795
Merge pull request #21738 from Prospress/issue_21736
Add SSL check to dashboard SSL notice
2018-11-14 12:51:50 -05:00
Claudiu Lodromanean 32afd82cfa
Merge pull request #21838 from woocommerce/update/preview
Reintroduce Preview button on products
2018-11-14 12:38:29 -05:00
Ron Rennick d0672b68c6 Capitalize dashboard widget titles 2018-11-14 13:34:15 -04:00
Hannah Swain 1e142836b6
Update html-product-data-general.php
Changed external/affiliate product URL field's placeholder from http:// to https:// to reflect web preference for https
2018-11-12 13:56:00 +01:00
Joshua Flowers 2a76f0c19d Add WC_Admin_Taxonomies instance method 2018-11-12 11:30:09 +08:00
Kanishk ebd08e72b3 Added action on '9' priority 2018-11-10 02:12:09 +05:30
Ron Rennick 5b486a1e2f allow export and display of attribute labels containing html special characters 2018-11-09 09:17:18 -04:00
Refael Iliaguyev 127f1cb276 Use WC() instead wc() for consistency 2018-11-08 12:59:07 +02:00
Kanishk c7fc4a9521 Refactored code to add filters on plugins_loaded 2018-11-07 02:32:57 +05:30
claudiulodro 510d3a756f Reintroduce Preview button on products 2018-11-06 15:28:23 -05:00
Kanishk b5b60c93b7 Merge branch 'master' into fix/helper-not-able-to-detect-local-woo-plugin 2018-11-07 01:46:31 +05:30
jvanderveen c205cab470
Update class-wc-tax-rate-importer.php 2018-11-06 15:01:44 +01:00
Nico Mollet 0dcf6e2796
"account erasure request" text is not translatable
`esc_html__` should be used instead of `esc_html`
2018-11-05 14:47:28 +01:00
Claudio Sanches 8618d9a976 Fixed coding standards 2018-11-02 10:21:18 -07:00
Claudio Sanches 7437289418 Check for permissions before allow edit REST API keys 2018-11-02 10:21:18 -07:00
Claudiu Lodromanean f973d0bed2
Merge pull request #21745 from woocommerce/fix/21697
Make easy to register new REST API versions into webhooks
2018-10-31 08:51:24 -07:00
Claudiu Lodromanean 73c8c99607
Merge pull request #21740 from woocommerce/revert/17895
Revert PR #17895
2018-10-31 08:50:51 -07:00
Claudiu Lodromanean 175991b5db
Merge pull request #21690 from woocommerce/fix/21684
Do not include strong tags as part of translation string on subscriptions disconnect message
2018-10-31 08:49:42 -07:00
Claudio Sanches f765b47cbf Make easy to register new REST API versions into webhooks
Closes #21697
2018-10-29 19:31:47 -03:00
Rodrigo Primo 7db65aea2c Revert "Use post_author field instead of post meta in orders admin page"
This reverts commit 6ecc3bc442.
2018-10-29 11:46:02 -03:00
Rodrigo Primo 487ac201c0 Revert "Bump WC version to 3.4.0"
This reverts commit 7f43c39f2f.
2018-10-29 11:44:32 -03:00
Rodrigo Primo 1d9ab63134 Revert "Punt to WC version 3.5.0"
This reverts commit ccf10f6ab2.
2018-10-29 11:37:24 -03:00
Rodrigo Primo f109008e0d Revert "Update wc_customer_bought_product() and customers report to use post_author instead of _customer_user"
This reverts commit b97f2749d6.
2018-10-29 11:15:22 -03:00
Ron Rennick 427d7df7fb Introduce WC_Admin_Notices::is_ssl(), add SSL check to dashboard SSL notice 2018-10-29 11:10:09 -03:00
Kanishk 2c642f3880 Cleaned cache right after filters are added 2018-10-28 16:55:07 +05:30
Karolína Vyskočilová 6687633c92 fix PHP 7.2 travis build 2018-10-28 11:36:55 +01:00
Karolína Vyskočilová 1dec0264bc custom settings on shipping section (#13463, #13461) 2018-10-27 23:53:43 +02:00
Gerhard 86c15f24c1 Dont include the html tags in the translated string. 2018-10-26 13:33:40 +02:00
Gerhard 5285ea0dcc Allow the strong tags to be used. 2018-10-26 13:29:56 +02:00
Gerhard 1af659e73b comment_type should be review for the latest reviews dashboard widget. 2018-10-26 13:16:16 +02:00
Jeff Stieler b9b9f191e9 Setup wizard: store shipping label opt-in in options table, use for “activate” step feature list. 2018-10-25 11:43:13 -04:00
Kanishk 9bd4a8957f Purged plugin and theme cache so that the helper can detect locally installed plugins and themes 2018-10-25 15:27:04 +05:30
Emran Ahmed 5bceee62ad
Add extra filter param
Add `$attribute` to get more info about custom attribute types
2018-10-24 19:32:27 +06:00
Jeff Stieler 950f0c4688 Setup wizard: remove mention of live shipping rates from “activate” step. 2018-10-24 08:57:09 -04:00
Keith Light f9cbcbece6 Amend `absint` to `esc_html` to allow for negative numbers in menu order 2018-10-23 20:51:14 +01:00
Reuven Karasik a9afc72991
Updated html-variation-admin.php to comply with CS
Based on @ikraav 's proposals
2018-10-23 15:36:13 +03:00
Rodrigo Primo 8f04e09f26 Fix PHPCS violations automatically using phpcbf 2018-10-22 11:22:22 -03:00
claudiulodro b49a9a5809 Tweaks to unsupported theme handling and hidden preview button handling 2018-10-19 10:49:58 -07:00
claudiulodro ccdf6d0253 Simplified path check for CSV importer to cause less issues 2018-10-15 13:50:34 -07:00
Claudiu Lodromanean df55670bf0
Merge pull request #21503 from woocommerce/fix/21497
Add support for sanitizing arrays used when saving order item data
2018-10-15 11:37:02 -07:00
Ron Rennick 1ea2d79dd6 Merge branch 'master' into issue_21515 2018-10-15 11:00:14 -03:00
Ron Rennick ec44a36913 only include erasure tools link in erasure desc_tip when user has manage_privacy_options, escape the desc_tip 2018-10-12 21:49:05 -03:00
claudiulodro 87b81c94ae Better way of doing it 2018-10-11 13:31:34 -07:00
claudiulodro 26b188569b Add filter for disabling file path check 2018-10-11 13:31:27 -07:00
claudiulodro acf8757636 Add path checking and fix bug 2018-10-11 13:31:27 -07:00
claudiulodro 7b19673dea Extra file type checking 2018-10-11 13:31:27 -07:00
Reuven Karasik 86c4c56d44
Fixed version and removed $variation_data array
Fixed version and removed $variation_data array (since it's deprecated) from filter `woocommerce_variation_header`
2018-10-06 12:21:40 +03:00
claudiulodro 91d2411aa9 Use wc_check_utf8 function 2018-10-05 15:58:50 -04:00
claudiulodro dfad1306de Revert sanitization function used for order item data 2018-10-05 15:46:49 -04:00
claudiulodro 1716538617 Prevent duplicate actions from firing in shipping settings 2018-10-03 15:43:11 -04:00
Claudiu Lodromanean c8bab001a9
Merge pull request #21410 from rnaby/fix/21395
Fix for issue #21395
2018-09-27 10:46:23 -07:00
Khan M Rashedun-Naby f1f3eee195 discussion_r219948141 and discussion_r219949290 fix 2018-09-27 12:41:45 +06:00
Gerhard Potgieter dd1d3b0c77 Make sure _stock is set and unslash value before using. Update PHPCS exclude rule to be more specific. 2018-09-27 08:02:12 +02:00