Commit Graph

29487 Commits

Author SHA1 Message Date
Peter Fabian 9547895863 Don't remove existing meta queries via REST API. 2018-12-03 11:52:36 +01:00
Brent Shepherd f19ebbfa66 Make webhooks scheduled actions unique
Fixes #22087
2018-12-03 13:09:03 +10:00
Claudio Sanches a0e77eb40c Use wc_strtoupper on formatted address 2018-11-30 15:59:28 -02:00
claudiulodro 2fed9b94a3 Remove duplicate sanitizing 2018-11-30 08:49:43 -08:00
claudiulodro 5d0d275bec Remove duplicate sanitizing 2018-11-30 08:49:43 -08:00
claudiulodro 2bccd4899a Revise to make code cleaner 2018-11-30 08:49:43 -08:00
claudiulodro d1533261f5 Extra sanitizing around payment_method_title 2018-11-30 08:49:43 -08: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 c4fcaa8938
Merge pull request #22062 from woocommerce/update/wptested
Bump "Tested up to" header
2018-11-29 08:43:20 -08:00
Reüel van der Steege b433219f71
Fix incorrect return type documentation for product factory `get_product()`.
This method returns `false` if the product cannot be loaded, not `null`.
2018-11-29 15:25:24 +01:00
Fulvio Notarstefano 3c4f0db9cc Make shipping may estimate text filterable 2018-11-29 17:16:22 +08:00
Fulvio Notarstefano 1d2700e42f Make shipping may be available text filterable 2018-11-29 14:19:20 +08:00
Claudiu Lodromanean 7049cd28e9
Merge pull request #22057 from leewillis77/status-report-plugin-fix
"Active plugins" fix for status report
2018-11-28 11:09:26 -08:00
Ron Rennick 548fc72718 ensure product parent exists before getting its image 2018-11-28 14:41:12 -04:00
Ron Rennick b0b2320559 fix phpcs sniffs in abstract-wc-product.php 2018-11-28 14:34:24 -04:00
Ron Rennick 99a48cc0a0 don't html escape sku used in product lookup 2018-11-28 13:47:27 -04:00
Ron Rennick ddcfb50d4b fix phpcs in class-wc-product-csv-importer.php 2018-11-28 13:45:33 -04:00
Claudiu Lodromanean fd195cfbf6
Merge pull request #21940 from woocommerce/fix/21937
Make wc_download_log FK use table prefix
2018-11-28 07:48:05 -08:00
claudiulodro d5f7afbff3 Simplify contraint 2018-11-27 11:08:47 -08:00
claudiulodro 5f7ee03a7e Bump "Tested up to" header 2018-11-27 10:51:24 -08:00
Claudiu Lodromanean 2e157427fc
Merge pull request #21970 from woocommerce/feature/twenty-nineteen
Enhanced compatibility with Twenty Nineteen
2018-11-27 09:13:14 -08: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
Claudiu Lodromanean d8119dd1e9
Merge pull request #21865 from Prospress/fix/21857
consistent logic on `woocommerce_formatted_address_force_country_display` filter name
2018-11-27 09:12:04 -08:00
Claudiu Lodromanean f7680ffa36
Merge pull request #22013 from woocommerce/fix/21789
Fixed REST API authentication when using 3rd party auth methods
2018-11-27 09:11:37 -08:00
Claudiu Lodromanean 1f00fa9b02
Merge pull request #22050 from woocommerce/fix/21796-2
Add hold stock minutes check to order pay shortcode also
2018-11-27 09:11:19 -08:00
Claudiu Lodromanean da52295e77
Merge pull request #22051 from woocommerce/fix/22000
Check product exists before getting title
2018-11-27 09:10:56 -08:00
Lee Willis 6f24d5b283 Coding standard fix 2018-11-27 12:05:10 +00:00
Lee Willis 0079312e1c Remove erroneous "break" 2018-11-27 11:20:27 +00:00
claudiulodro 13371c7e8b Check product exists before getting title 2018-11-26 11:16:58 -08:00
claudiulodro 695d3eb433 Add hold stock minutes check to order pay shortcode also 2018-11-26 11:10:07 -08:00
Ron Rennick e39a86d4ee fix PHP 5.2 sniffs in class-wc-install.php 2018-11-23 14:49:08 -04:00
Rodrigo Primo a9994feeea Delete wc_layered_nav_counts_* transients whenever a product is updated
This commit moves the code to delete wc_layered_nav_counts_* transients from WC_Product_Data_Store_CPT::update_attributes() to wc_delete_product_transients(). This way those transients will be deleted whenever a product is updated and not only when the product attributes are updated. This is needed to make sure that the "Filter Products by Attribute" displays the correct list of attributes when a product changes from out of stock to in stock or vice versa via the "Quick Edit" interface or the WC API.
2018-11-23 15:30:38 -02:00
Rodrigo Primo 8d5b428a29 Update WPCS sniff name from WordPress.WP.PreparedSQL.NotPrepared to WordPress.DB.PreparedSQL.NotPrepared
The name of the sniff changed in WPCS 1.0
2018-11-23 15:29:53 -02:00
Rodrigo Primo 6ec2b26972 Update WordPress.DB.PreparedSQL.NotPrepared sniff name
The latest version of WPCS that was added to WC last week, changed the name of some sniffs. This commit updates the name of one of those sniffs from WordPress.WP.PreparedSQL.NotPrepared to WordPress.DB.PreparedSQL.NotPrepared.
2018-11-23 15:10:52 -02:00
Ron Rennick 45370d3e61 fix `0` value attribute permalink calculation, property population in REST api 2018-11-23 11:13:25 -04:00
Rodrigo Primo 57f44798cb Fix phpcs violations automatically using phpcbf 2018-11-23 12:57:51 -02:00
Rodrigo Primo eb76ac9f65 Fix phpcs violations automatically using phpcbf 2018-11-23 12:37:23 -02:00
Rodrigo Primo 242641e931
Merge pull request #21987 from webdados/patch-2
Fix Angolan "State" label to "Province"
2018-11-23 11:21:08 -02:00
Rodrigo Primo 05bae41b24 Fix phpcs violations automatically using phpcbf 2018-11-23 11:17:43 -02:00
Tiago Noronha 0f343256c2 Multiple styling fixes 2018-11-23 00:59:33 +00:00
Rodrigo Primo 76b7f5b381
Merge pull request #21995 from woocommerce/fix/21790
When only selling to one country set customer location to that country
2018-11-22 12:06:12 -02:00
Rodrigo Primo b3bfb77edb fix phpcs error 2018-11-22 10:58:55 -02:00
Rodrigo Primo 12bac0f2b6 Merge branch 'master' into fix/21790 2018-11-22 10:57:47 -02: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
Bradley Davis 7481af8614 [ UPDATE ] inline PHP semicolon and spacing 2018-11-22 20:37:14 +10:00
Claudiu Lodromanean dd2ef82dc8
Merge pull request #21797 from jdmadison/fix-21796
Add woocommerce_hold_stock_minutes check back to  calculation
2018-11-21 13:11:20 -08:00
Claudiu Lodromanean b85598a576
Merge pull request #22001 from woocommerce/fix/21792
Fix missing lost password notices
2018-11-21 13:06:39 -08:00
Claudiu Lodromanean e0cf359378
Merge pull request #22000 from woocommerce/fix/21990
Fix arialabelledby attribute for quantity selectors
2018-11-21 13:02:53 -08:00