Commit Graph

15419 Commits

Author SHA1 Message Date
Claudio Sanches c904894035 Fixed includes/class-wc-cart-fees.php PHPCS violations 2018-03-16 14:43:53 -03:00
Claudio Sanches db3924f2c7
Merge pull request #19421 from woocommerce/fix/auth-class-phpcs
Fixed includes/class-wc-auth.php PHPCS violations
2018-03-16 11:57:05 -03:00
Mike Jolley 09b089fff4
Merge pull request #19424 from woocommerce/fix/breadcrumb-class-phpcs
Fixed includes/class-wc-breadcrumb.php PHPCS violations
2018-03-16 14:14:26 +00:00
Mike Jolley 6cc5f2e171
Merge pull request #19140 from woocommerce/fix/subcategory-cache
Clear subcategory cache
2018-03-16 14:08:58 +00:00
Mike Jolley eb26221b1a Merge branch 'master' into update/19061 2018-03-16 13:59:05 +00:00
Mike Jolley 7a568e2f68 Personal data removal experiment 2018-03-16 13:53:18 +00:00
Rodrigo Primo 6fcc468aba PHPCS fixes in includes/class-wc-product-grouped.php 2018-03-16 10:00:42 -03:00
Rodrigo Primo 8e87ce7e57 Remove unused variable 2018-03-16 09:57:18 -03:00
Gerhard Potgieter b0902e56d8
Merge pull request #19423 from woocommerce/fix/background-emailer-class-phpcs
Fixed includes/class-wc-background-emailer.php PHPCS violations
2018-03-16 13:40:41 +02:00
Gerhard Potgieter 5fcef12667
Merge pull request #19422 from woocommerce/fix/autoload-class-phpcs
Fixed includes/class-wc-autoloader.php PHPCS violations
2018-03-16 13:26:45 +02:00
Gerhard Potgieter c0d3050a99
Merge pull request #19420 from woocommerce/fix/api-class-phpcs
Fixed includes/class-wc-api.php PHPCS violations
2018-03-16 13:11:22 +02:00
Mike Jolley 5740dc15e7
Merge pull request #19416 from woocommerce/fix/17876
Enable selecting with tab key on selectWoo
2018-03-16 11:08:30 +00:00
Claudio Sanches 8d860d7fb3 Fixed includes/class-wc-breadcrumb.php PHPCS violations 2018-03-15 18:30:08 -03:00
Claudio Sanches 3d4217143e Fixed includes/class-wc-background-emailer.php PHPCS violations 2018-03-15 18:22:12 -03:00
Claudio Sanches 820426a4d0 Short ASBPATH check in includes/class-wc-background-updater.php 2018-03-15 18:14:36 -03:00
Claudio Sanches 0ce0edac73 Fixed includes/class-wc-autoloader.php PHPCS violations 2018-03-15 18:13:26 -03:00
Claudio Sanches 8ab919ee94 Fixed includes/class-wc-auth.php PHPCS violations 2018-03-15 17:58:12 -03:00
Claudio Sanches b6bcb44f3f Fixed includes/class-wc-api.php PHPCS violations 2018-03-15 17:35:40 -03:00
Claudio Sanches 827d957d66 Load GeoLite2 Reader when creating a new instance of WC_Geolite_Integration 2018-03-15 17:30:17 -03:00
Claudio Sanches 774a54b8ee Deprecated old WC_Geo_IP class 2018-03-15 17:23:40 -03:00
claudiulodro b0fa583f6e Enable selecting with tab key on selectWoo 2018-03-15 11:52:07 -07:00
Claudio Sanches 6405e8645a Removed legacy private methods from WC_Geolocation 2018-03-15 14:01:36 -03:00
Claudio Sanches a731135cae Removed outdated IP lookup service and improved check for valid IPs 2018-03-15 13:45:49 -03:00
Claudiu Lodromanean fbccc4ed5c
Merge pull request #19415 from woocommerce/fix/19401
Reload gateways after updating the order.
2018-03-15 09:21:15 -07:00
Claudiu Lodromanean 88531fdfc6
Merge pull request #19414 from woocommerce/fix/19398
Inherit 'is variation' from existing attribute during csv import
2018-03-15 09:06:57 -07:00
Claudiu Lodromanean b00e05bb64
Merge pull request #19413 from woocommerce/update/19402
Add post_excerpt to product search
2018-03-15 08:00:52 -07:00
Mike Jolley 2abd510b36
Merge pull request #19391 from woocommerce/fix/rounding
100% coupon with inclusive taxes and out-of-base rounding issue fix
2018-03-15 12:43:58 +00:00
Mike Jolley 4bbdf30794 Reload gateways after updating the order. Fixes #19401 2018-03-15 12:39:30 +00:00
Mike Jolley e86ae89123 phpcs 2018-03-15 12:36:10 +00:00
Mike Jolley 565f1c6e66 Inherit 'is variation' from existing attribute during csv import 2018-03-15 12:18:31 +00:00
Mike Jolley 3df5a479f9 Add post_excerpt to product search 2018-03-15 11:21:27 +00:00
Mike Jolley 1c9143546f Use wc_get_default_products_per_row as the default for product shortcodes
Closes #19408

Will apply if no fixed columns are provided via the shortcode args.
2018-03-15 11:16:34 +00:00
Mike Jolley 94bfd3b336 Update formatting and tests 2018-03-15 10:54:32 +00:00
Mike Jolley c4b3bd0114
Merge pull request #19405 from woocommerce/phpcs-fixes
Fix PHPCS violations in a few files
2018-03-15 10:02:23 +00:00
Rodrigo Primo a767eb1a87 PHPCS fixes in includes/class-wc-shipping-zone.php 2018-03-14 17:54:42 -03:00
Rodrigo Primo af75da87fd PHPCS fixes in includes/class-wc-shipping-zones.php 2018-03-14 17:53:41 -03:00
Rodrigo Primo 45c1adec23 Remove unused private method WC_Shipping::get_default_method()
This method was create in commit 9f65d2a1fc and it was used only once inside WC_Shipping::calculate_shipping(). But commit 4c4f26ff41 removed this call to WC_Shipping::get_default_method() and left the method unused.
2018-03-14 17:50:38 -03:00
Rodrigo Primo e90ce56a50 PHPCS fixes in includes/class-wc-shipping.php 2018-03-14 17:50:19 -03:00
Rodrigo Primo 202e527a83 PHPCS fixes in includes/class-wc-shortcodes.php 2018-03-14 17:41:24 -03:00
Claudio Sanches 4a638c60bb Reschedule download of GeoLite2 database when something goes wrong 2018-03-14 16:07:00 -03:00
Claudio Sanches 4e9c8f2590 Updated GeoLite2 Reader errors to warning level 2018-03-14 16:03:31 -03:00
Claudio Sanches 51cfb9b03e Updated how GeoLite2 database is downloaded 2018-03-14 16:01:33 -03:00
Claudio Sanches 1791a192d8 Check for PHP version before try use GeoLite2 2018-03-14 14:07:20 -03:00
Claudio Sanches 7f6f4b848d Created WC_Geolite_Integration class to handle with GeoLite2 integration 2018-03-14 13:57:07 -03:00
Claudio Sanches 29b9e9c085 GeoLite2 Reader integration 2018-03-14 12:42:53 -03:00
claudiulodro f39a9ee61a Round fractional cents when oob 2018-03-14 08:35:41 -07:00
Claudiu Lodromanean feba3bd3ed
Merge pull request #19378 from woocommerce/fix/19217
Deletes orphan variations after successful import.
2018-03-14 08:27:30 -07:00
Mike Jolley 27f07807a5 Clean up 2018-03-14 15:23:39 +00:00
Mike Jolley e0ab13bd3c Tests and test pass 2018-03-14 15:14:45 +00:00
Mike Jolley fec36ff4b2 Test runner 2018-03-14 14:29:03 +00:00
Mike Jolley f166e25b19 basic integration with https://core.trac.wordpress.org/ticket/43438 2018-03-14 14:11:42 +00:00
Mike Jolley 06418f67e5
Merge pull request #19225 from roylindauer/17355-SplitAndFilter
Split layered nav transient per issue #17355
2018-03-14 12:50:54 +00:00
Mike Jolley a60e51afe1 Merge branch 'master' into update/setup-wizard-activate-step-when-jetpack-connected 2018-03-14 12:49:44 +00:00
Mike Jolley f771e323d9 Set opt-in/out based on geolocation data and DNT headers 2018-03-14 12:32:40 +00:00
Roy Lindauer 33cfed8e47 ensure that cache is deleted 2018-03-13 15:37:09 -07:00
Roy Lindauer b151480e6b fix indentation issues 2018-03-13 15:34:47 -07:00
Mike Jolley e03bc3d447
Merge pull request #19381 from woocommerce/fix/phpcs-violations-includes
Fix PHPCS violations in a few includes/ files
2018-03-13 19:36:53 +00:00
Mike Jolley d052b2ee46 cache per parent to avoid large caches 2018-03-13 19:00:08 +00:00
Claudio Sanches 6fdc1a547d Download new GeoLite2 and deprecated legacy GeoLite 2018-03-13 15:57:32 -03:00
Mike Jolley cb3c4849b4 Merge branch 'master' into fix/19175 2018-03-13 18:14:36 +00:00
Claudio Sanches 39c702403a Updated system status message about MaxMind GeoIP database 2018-03-13 14:54:56 -03:00
Claudio Sanches f24fe25c7d Included new GeoLite2 DB reader library 2018-03-13 14:50:01 -03:00
Claudiu Lodromanean 05b4bf7a55
Merge pull request #19382 from woocommerce/fix/19370
Variations errors
2018-03-13 10:42:49 -07:00
Claudiu Lodromanean c38e0e69e9
Merge pull request #19376 from woocommerce/fix/19362
Correctly handle default ordering on the search page
2018-03-13 10:39:59 -07:00
Claudio Sanches c2966805c8
Merge pull request #19386 from woocommerce/fix/insert-term-fatal-error
Check if wp_insert_term() returned a term before using it
2018-03-13 14:33:17 -03:00
Claudio Sanches 941d2a7bfe
Merge pull request #19384 from woocommerce/fix/default-product-category-check
Fix default product category check
2018-03-13 14:31:16 -03:00
Claudiu Lodromanean 3a5644ddce
Merge pull request #19338 from woocommerce/fix/19222
Fix JS state/country inputs
2018-03-13 10:10:24 -07:00
Mike Jolley 1dbf1bc1d8 add general woocommerce_form_field filter 2018-03-13 14:30:19 +00:00
Mike Jolley 5d6b43dbc8 Update nonce handling 2018-03-13 14:16:56 +00:00
Rodrigo Primo d603ba0b68 Check if wp_insert_term() returned a term before using it
This commit adds a check to make sure wp_insert_term() returned a term and not an instance of WP_Error before trying to access it. Without this change, the old code could produce the following fatal error:

Uncaught Error: Cannot use object of type WP_Error as array in includes/class-wc-install.php:478

Fixes #19377
2018-03-13 11:02:55 -03:00
Rodrigo Primo 40c56d8ee3 Fix default product category check
This commit casts the 'default_product_cat' option to integer before passing it to `term_exists()`. If we don't do this, `get_option( 'default_product_cat' )` return a string that is passed to `term_exists( $woocommerce_default_category, 'product_cat' )`. `term_exists()` assumes that strings are term names or slugs and search only for this fields to check if the given term exist. So it will return false (unless the term name equals to the term ID which is unlikely) even though the term exists. To make it search for terms IDs to check if the given term exists, it is necessary to pass an integer.
2018-03-13 10:19:35 -03:00
Mike Jolley a5a6d02f86 Fix null check introduced by phpcs changes 2018-03-13 11:57:51 +00:00
Rodrigo Primo 4229b3c5b2 Rename WC_Validation::is_GB_postcode() to WC_Validation::is_gb_postcode()
To follow WP coding standards
2018-03-13 08:49:40 -03:00
Rodrigo Primo 850bbc1c40 PHPCS fixes in includes/class-wc-validation.php 2018-03-13 08:49:34 -03:00
Rodrigo Primo c2c1501acc PHPCS fixes in includes/class-wc-webhook.php 2018-03-13 08:35:25 -03:00
Mike Jolley 291de9c1fb Override supports for PayPal to see if credentials exist 2018-03-13 11:35:20 +00:00
Rodrigo Primo 52e067eeef PHPCS fixes in includes/wc-conditional-functions.php 2018-03-13 08:33:48 -03:00
Mike Jolley d910f11b49 Delete orphans after import 2018-03-13 11:14:24 +00:00
Mike Jolley 387ea23d39 phpcs 2018-03-13 11:11:11 +00:00
Mike Jolley e4e581c2ef Correctly handle default ordering on the search page
Fixes woocommerce_catalog_ordering function and closes #19362.
2018-03-13 10:43:58 +00:00
Torre Lasley 64f85346c0 Add filter to allow plugins to override the default coupon apply order. (#19339)
* Fix for Issue #10523 - Variations ID lookup by SKU

I copied the code from the bulk() function to look up the Variation ID by the Variation SKU if the Variation ID is missing.

* Added new filter woocommerce_coupon_sort to allow plugins to override the default coupon apply order.
2018-03-13 10:26:22 +00:00
Mike Jolley 200f2371fd
Merge pull request #19342 from woocommerce/update/walkers-phpcs
Fixed walkers PHPCS violations
2018-03-13 10:17:27 +00:00
Mike Jolley 1b905b2975
Merge pull request #19331 from woocommerce/add/coupon-wildcard-email
Add wildcard email support for coupons.
2018-03-13 10:05:06 +00:00
Mike Jolley b875299b65
Merge pull request #19372 from woocommerce/fix/broke-shipping-zones
Fixed missing shipping zones on settings
2018-03-13 10:02:30 +00:00
Mike Jolley 923bb58f9d
Merge pull request #19369 from woocommerce/fix/19247
Properly check for old and new slug while updating attributes
2018-03-13 10:01:43 +00:00
Mike Jolley 48303278f6
Merge pull request #19373 from nishitlangaliya/issue-19323
missing single quote added
2018-03-13 09:59:55 +00:00
Mike Jolley 272c43f0d8 Just ENT_QUOTES is enough in https://github.com/woocommerce/woocommerce/pull/19349 2018-03-13 09:58:38 +00:00
Anders Skouboe 363fb54a2d Decode single quotes in short description editor 2018-03-13 09:58:38 +00:00
nishitlangaliya 4b4fd3931e missing single quote added 2018-03-13 11:15:43 +05:30
Gerhard Potgieter 01775a4443 Missing space 2018-03-13 07:34:47 +02:00
Claudio Sanches 988e5e576e Fixed spacing 2018-03-12 17:40:13 -03:00
Claudio Sanches 03c98e7ae7 Fixed missing shipping zones on settings
Fixed empty wp_localize_script() when WC_Shipping_Zone->get_shipping_methods() loads as admin data instead of json.
2018-03-12 17:37:45 -03:00
Mike Jolley a6b6685353
Merge pull request #19335 from woocommerce/fix/19244
Use gallery thumbnail size for variation image switcher.
2018-03-12 20:09:03 +00:00
Mike Jolley e936cbdf9c todo note for #19293 2018-03-12 19:53:14 +00:00
Mike Jolley 895df71b9e
Merge pull request #19310 from woocommerce/fix/19294
Only add schema for ratings when enabled.
2018-03-12 19:37:24 +00:00
Mike Jolley 906aa97aea Merge branch 'master' into update/19061 2018-03-12 19:28:53 +00:00
Claudio Sanches 54a0e01b8a
Merge branch 'master' into patch-2 2018-03-12 16:28:00 -03:00
Mike Jolley f0aa07fbf7 Case insensitive or handling 2018-03-12 19:18:13 +00:00
Mike Jolley b0a4502e0f Unslash quotes 2018-03-12 19:11:48 +00:00
Claudio Sanches 6130a222cc Properly check for old and new slug while updating attributes
Closes #19247
2018-03-12 15:52:26 -03:00
Roy Lindauer 7016762dd5 Merge branch '17355-SplitAndFilter' of github.com:roylindauer/woocommerce into 17355-SplitAndFilter 2018-03-12 10:58:31 -07:00
Claudiu Lodromanean 0cc1b78341
Merge pull request #19296 from woocommerce/fix/hash-function
Hash may not exist
2018-03-12 10:58:31 -07:00
Roy Lindauer 6fba320040 Delete tax specific transients 2018-03-12 10:57:14 -07:00
Claudiu Lodromanean 4fbd01f003
Merge pull request #19288 from woocommerce/fix/19210
Introduce woocommerce_product_loop helper for loops
2018-03-12 10:50:25 -07:00
Mike Jolley 2b7be75b44
Merge pull request #19366 from woocommerce/fix/19347
Check if product has weight before calculate weigth total in cart
2018-03-12 16:55:22 +00:00
Claudio Sanches 768a21e788 Check if product has weight before calculate weigth total in cart
Closes #19347
2018-03-12 12:54:00 -03:00
Claudiu Lodromanean 1b3e0b39b1
Merge pull request #19363 from nishitlangaliya/issue-19323
Add Filter to woocommerce_output_product_categories
2018-03-12 08:50:22 -07:00
Claudio Sanches 82fec65fa0 Merge branch 'master' into update/walkers-phpcs 2018-03-12 12:31:57 -03:00
nishitlangaliya 8fa7a7695a Add Filter to woocommerce_output_product_categories 2018-03-12 16:09:00 +05:30
Boro Sitnikovski d01ab9b24f Remove unnecessary string 2018-03-12 09:07:51 +01:00
Mike Jolley 8b06e0e432
Merge pull request #19341 from woocommerce/fix/phpcs-includes-gateways
PHPCS fixes for includes/gateways directory
2018-03-10 20:17:24 +00:00
Mike Jolley d724f50b1c
Merge pull request #19343 from woocommerce/fix/php-includes-admin-importers
PHPCS fixes for includes/admin/importers directory
2018-03-10 11:57:46 +00:00
Claudio Sanches 18a44172a2 Fixed class-wc-widget-top-rated-products.php PHPCS violations 2018-03-09 17:50:02 -03:00
Claudio Sanches b329d81279 Fixed class-wc-widget-recently-viewed.php PHPCS violations 2018-03-09 17:48:28 -03:00
Claudio Sanches d3b81b17a8 Fixed class-wc-widget-recent-reviews.php PHPCS violations 2018-03-09 17:45:45 -03:00
Claudio Sanches f9eed130ec Fixed class-wc-widget-rating-filter.php PHPCS violations 2018-03-09 17:43:52 -03:00
Claudio Sanches dfe3965fbb Fixed class-wc-widget-products.php PHPCS violations 2018-03-09 17:41:07 -03:00
Claudio Sanches 85aba0221a Fixed class-wc-widget-product-tag-cloud.php PHPCS violations 2018-03-09 17:37:23 -03:00
Claudio Sanches 74b5e3f8fa Fixed class-wc-widget-product-search.php PHPCS violations 2018-03-09 17:29:16 -03:00
Claudio Sanches cbb1271b2c Fixed class-wc-widget-product-categories.php PHPCS violations 2018-03-09 17:28:08 -03:00
Rodrigo Primo a0db877e24 phpcs fixes in includes/admin/importers/views/html-product-csv-import-form.php 2018-03-09 17:26:49 -03:00
Claudio Sanches 341dddc3ae Fixed class-wc-widget-price-filter.php PHPCS violations 2018-03-09 17:26:40 -03:00
Rodrigo Primo 9b03fff8b8 phpcs fixes in includes/admin/importers/views/html-csv-import-steps.php 2018-03-09 17:26:40 -03:00
Rodrigo Primo 924a7a5cc3 phpcs fixes in includes/admin/importers/views/html-csv-import-progress.php 2018-03-09 17:26:26 -03:00
Rodrigo Primo 56b82815a9 phpcs fixes in includes/admin/importers/views/html-csv-import-mapping.php 2018-03-09 17:26:16 -03:00
Rodrigo Primo 703627365a phpcs fixes in includes/admin/importers/views/html-csv-import-header.php 2018-03-09 17:26:05 -03:00
Rodrigo Primo 8c54884118 phpcs fixes in includes/admin/importers/views/html-csv-import-footer.php 2018-03-09 17:25:55 -03:00
Rodrigo Primo b67e839dbb phpcs fixes in includes/admin/importers/views/html-csv-import-done.php 2018-03-09 17:25:45 -03:00
Rodrigo Primo 5b425402c2 phpcs fixes in includes/admin/importers/mappings/wordpress.php 2018-03-09 17:25:36 -03:00
Rodrigo Primo 20650248ae phpcs fixes in includes/admin/importers/mappings/mappings.php 2018-03-09 17:25:24 -03:00
Rodrigo Primo c7d13ddab6 phpcs fixes in includes/admin/importers/mappings/generic.php 2018-03-09 17:25:15 -03:00
Rodrigo Primo c18cfd779d phpcs fixes in includes/admin/importers/mappings/default.php 2018-03-09 17:25:05 -03:00
Rodrigo Primo 1dc2511c2c phpcs fixes in includes/admin/importers/class-wc-tax-rate-importer.php 2018-03-09 17:24:55 -03:00
Rodrigo Primo 73cb1663ec phpcs fixes in includes/admin/importers/class-wc-product-csv-importer-controller.php 2018-03-09 17:24:44 -03:00
Claudio Sanches c317dd01e8 Restored old walkers files to keep backwards compatibility 2018-03-09 17:14:02 -03:00
Claudio Sanches e87c309b01 Fixed class-wc-widget-layered-nav.php PHPCS violations 2018-03-09 17:10:03 -03:00
Claudio Sanches 84b0446736 Fixed class-wc-widget-layered-nav-filters.php PHPCS violations 2018-03-09 16:56:15 -03:00
Claudio Sanches 5cf942c22b Fixed class-wc-widget-cart.php PHPCS violations 2018-03-09 16:37:52 -03:00
Claudio Sanches 0643991a80 Updated file versions from walkers 2018-03-09 16:34:28 -03:00
Claudio Sanches 4daf256c32 Fixed path of walker classes 2018-03-09 16:31:00 -03:00
Claudio Sanches c5ace252e5 Fixed class-wc-product-cat-list-walker.php PHPCS violations 2018-03-09 16:30:13 -03:00
Claudio Sanches 73c924e2be Fixed class-wc-product-cat-dropdown-walker.php PHPCS violations 2018-03-09 16:10:45 -03:00
Rodrigo Primo 4e3ba1b73b phpcs fixes in includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php 2018-03-09 15:45:47 -03:00
Rodrigo Primo cf5ce33e29 phpcs fixes in includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php 2018-03-09 15:45:35 -03:00
Rodrigo Primo 128c4398a5 phpcs fixes in includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php 2018-03-09 15:45:22 -03:00
Rodrigo Primo 06af993595 phpcs fixes in includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php 2018-03-09 15:45:13 -03:00
Rodrigo Primo 93a50caa42 phpcs fixes in includes/gateways/paypal/class-wc-gateway-paypal.php 2018-03-09 15:45:00 -03:00
Rodrigo Primo cdf8b483a1 phpcs fixes in includes/gateways/cod/class-wc-gateway-cod.php 2018-03-09 15:44:48 -03:00
Rodrigo Primo 4989e0ff2b phpcs fixes in includes/gateways/class-wc-payment-gateway-echeck.php 2018-03-09 15:44:37 -03:00
Rodrigo Primo 609bc3bf71 phpcs fixes in includes/gateways/class-wc-payment-gateway-cc.php 2018-03-09 15:44:24 -03:00
Rodrigo Primo 3451dae895 phpcs fixes in includes/gateways/cheque/class-wc-gateway-cheque.php 2018-03-09 15:44:14 -03:00
Rodrigo Primo 701320ad32 phpcs fixes in includes/gateways/bacs/class-wc-gateway-bacs.php 2018-03-09 15:43:56 -03:00
Mike Jolley 64bcabf0af
Merge pull request #19295 from woocommerce/update/cart-functions-phpcs
Fixed includes/wc-cart-functions.php PHPCS violations
2018-03-09 16:31:50 +00:00
Mike Jolley 1fa36b5f15 Fix JS state/country inputs 2018-03-09 16:25:42 +00:00
Claudio Sanches 397f440233 Fixed class-wc-shortcode-checkout.php PHPCS violations 2018-03-09 13:25:29 -03:00
Claudio Sanches 505d906c66 Fixed class-wc-shortcode-order-tracking.php PHPCS violations 2018-03-09 13:15:53 -03:00
Claudio Sanches af8c59de94 Fixed class-wc-shortcode-my-account.php PHPCS violations 2018-03-09 13:11:52 -03:00
Claudio Sanches 64d93eafc0 Fixed class-wc-shortcode-cart.php PHPCS violations 2018-03-09 12:59:01 -03:00
Claudio Sanches 92c4ea7a49 Fixed class-wc-shortcode-products.php PHPCS violations 2018-03-09 12:55:37 -03:00
Claudio Sanches 53cde6f317 Fixed conflicts in cart functions and fixed PHPCS violations on core funcitons 2018-03-09 12:46:20 -03:00
Mike Jolley 0d624862c2 Use gallery thumbnail size for variation image switcher. 2018-03-09 14:36:14 +00:00
Rodrigo Primo df249d3b76 Rename class WC_Payment_Gateway_eCheck to WC_Payment_Gateway_ECheck
To match WP coding standards.
2018-03-09 09:57:59 -03:00
Rodrigo Primo 8678ed8685 Fix phpcs violations using phpcbf 2018-03-09 09:53:10 -03:00
Mike Jolley 00b4e1ed44
Merge pull request #19319 from woocommerce/fix/phpcs-includes-data-stores
PHPCS fixes for includes/data-stores directory
2018-03-09 12:36:31 +00:00
Rodrigo Primo 37ca7faf2e Check if there is a customer ID set before calling get_user_by() 2018-03-09 09:34:26 -03:00
Gerhard Potgieter e08b447c14 Add both order id and order number to export 2018-03-09 14:13:16 +02:00
Gerhard Potgieter 3910fbc270 Update method name 2018-03-09 11:00:57 +02:00
Gerhard Potgieter 1840d594ee Add wildcard email support for coupons.
Co-authored-by: l4ll3x
2018-03-09 10:57:12 +02:00
Mike Jolley 9aab5a723e
Merge pull request #19299 from woocommerce/fix/phpcs-includes/emails
PHPCS fixes for includes/emails directory
2018-03-09 08:51:18 +00:00
Mike Jolley 900ae28b04
Merge pull request #19304 from woocommerce/update/core-functions-phpcs
Fixed includes/wc-core-functions.php PHPCS violations
2018-03-09 08:31:12 +00:00
Mike Jolley 01720924a4
Merge pull request #19325 from woocommerce/update/user-functions-phpcs
Fixed includes/wc-user-functions.php PHPCS violations
2018-03-09 08:26:30 +00:00
Gerhard Potgieter 2571eb7cae
Merge pull request #19292 from woocommerce/update/attribute-functions-phpcs
Fixed includes/wc-attribute-functions.php PHPCS violations
2018-03-09 09:26:48 +02:00
Gerhard Potgieter 9ea4f66584
Merge pull request #19326 from woocommerce/update/widget-functions-phpcs
Fixed includes/wc-widget-functions.php PHPCS violations
2018-03-09 09:18:32 +02:00
Gerhard Potgieter 8ce660e731 Add note about pining tracker to anonomize/delete on that side as well. 2018-03-09 07:14:21 +02:00
Claudiu Lodromanean 624b4c47ac
Merge pull request #19321 from woocommerce/update/stock-functions-phpcs
Fixed includes/wc-stock-functions.php PHPCS violations
2018-03-08 15:33:03 -08:00
Claudio Sanches 435caeadae Fixed wc_attribute_label() logic 2018-03-08 18:41:39 -03:00
Claudio Sanches a9c1c2b096
Merge branch 'master' into update/core-functions-phpcs 2018-03-08 18:35:41 -03:00
Claudio Sanches d20f348d3c Check if $product exists 2018-03-08 18:33:16 -03:00
Claudio Sanches 75fce4a5fa Merge branch 'master' of github.com:woocommerce/woocommerce 2018-03-08 18:31:59 -03:00
Claudio Sanches a597ba3b84 Use short ABSPATH check 2018-03-08 18:31:01 -03:00
Claudio Sanches e3cd635eb0 Fixed includes/wc-widget-functions.php PHPCS violations 2018-03-08 18:29:54 -03:00
Claudiu Lodromanean bdace4694b
Merge pull request #19324 from woocommerce/update/term-functions-phpcs
Fixed includes/wc-term-functions.php PHPCS violations
2018-03-08 13:29:03 -08:00
Claudio Sanches 9d42c323bf Fixed includes/wc-user-functions.php PHPCS violations 2018-03-08 18:26:56 -03:00
Claudiu Lodromanean 1bb88d0a50
Merge pull request #19322 from woocommerce/update/template-hooks-phpcs
Fixed includes/wc-template-hooks.php PHPCS violations
2018-03-08 13:25:01 -08:00
Claudiu Lodromanean cff8a0bacc
Merge pull request #19320 from woocommerce/update/rest-functions-phpcs
Fixed includes/wc-rest-functions.php PHPCS violations
2018-03-08 13:21:24 -08:00
Claudio Sanches 072115853c Fixed includes/wc-term-functions.php PHPCS violations 2018-03-08 18:06:53 -03:00
Claudio Sanches 8bdb70bcca Fixed includes/wc-template-hooks.php PHPCS violations 2018-03-08 16:48:20 -03:00
Claudio Sanches cf9ce1add8 Fixed includes/wc-stock-functions.php PHPCS violations 2018-03-08 16:44:52 -03:00
Rodrigo Primo 860a575f94
Merge pull request #19318 from woocommerce/update/page-functions-phpcs
Fixed includes/wc-page-functions.php PHPCS violations
2018-03-08 16:40:47 -03:00
Rodrigo Primo b0f475867a
Merge pull request #19317 from woocommerce/update/order-items-functions-phpcs
Fixed update/order-items-functions-phpcs PHPCS violations
2018-03-08 16:40:17 -03:00
Rodrigo Primo 71c7e85c2b
Merge pull request #19315 from woocommerce/update/order-functions-phpcs
Fixed includes/wc-order-functions.php PHPCS violations
2018-03-08 16:39:08 -03:00
Claudio Sanches f26922ce1c Fixed includes/wc-rest-functions.php PHPCS violations 2018-03-08 16:34:25 -03:00
Rodrigo Primo 818819d0ff Rename class-wc-order-item-product-store.php to class-wc-order-item-product-data-store.php
To match WP coding standards
2018-03-08 16:30:33 -03:00
Rodrigo Primo 9765733597 phpcs fixes in includes/data-stores/class-wc-webhook-data-store.php 2018-03-08 16:29:22 -03:00
Rodrigo Primo 0ebf90b50e phpcs fixes in includes/data-stores/class-wc-order-item-product-store.php 2018-03-08 16:29:11 -03:00
Rodrigo Primo db26ae5fa0 phpcs fixes in includes/data-stores/class-wc-order-item-fee-data-store.php 2018-03-08 16:28:49 -03:00
Rodrigo Primo 67ab320a90 phpcs fixes in includes/data-stores/class-wc-order-item-data-store.php 2018-03-08 16:28:40 -03:00
Rodrigo Primo 1e32f09560 phpcs fixes in includes/data-stores/class-wc-order-item-coupon-data-store.php 2018-03-08 16:28:31 -03:00
Rodrigo Primo 231328e112 phpcs fixes in includes/data-stores/class-wc-order-data-store-cpt.php 2018-03-08 16:28:16 -03:00
Rodrigo Primo 6e2dfbf56c phpcs fixes in includes/data-stores/class-wc-customer-download-log-data-store.php 2018-03-08 16:28:05 -03:00
Rodrigo Primo 74879abeb3 phpcs fixes in includes/data-stores/class-wc-customer-data-store.php 2018-03-08 16:27:54 -03:00
Rodrigo Primo e3175a2e02 phpcs fixes in includes/data-stores/class-wc-customer-data-store-session.php 2018-03-08 16:27:42 -03:00
Rodrigo Primo 5eda520170 phpcs fixes in includes/data-stores/class-wc-coupon-data-store-cpt.php 2018-03-08 16:27:31 -03:00
Rodrigo Primo 2b84b7c38d phpcs fixes in includes/data-stores/abstract-wc-order-item-type-data-store.php 2018-03-08 16:27:17 -03:00
Rodrigo Primo 03c202f1f5 phpcs fixes in includes/data-stores/abstract-wc-order-data-store-cpt.php 2018-03-08 16:27:03 -03:00
Claudio Sanches da23b0399e Short ABSPATH check 2018-03-08 16:26:01 -03:00
Claudio Sanches 84f3947eb8 Fixed includes/wc-page-functions.php PHPCS violations 2018-03-08 16:15:31 -03:00
Claudio Sanches 3e07abb219 Fixed update/order-items-functions-phpcs PHPCS violations 2018-03-08 16:13:51 -03:00
Claudio Sanches 73de7414e2 Fixed includes/wc-order-functions.php PHPCS violations 2018-03-08 15:47:54 -03:00
Rodrigo Primo 4ef9e8d725 PHPCS fixes includes/data-stores/class-wc-shipping-zone-data-store.php 2018-03-08 15:33:27 -03:00
Rodrigo Primo 26b5524df1 PHPCS fixes in includes/data-stores/class-wc-product-variation-data-store-cpt.php 2018-03-08 15:33:15 -03:00
Rodrigo Primo 71043bdc0e PHPCS fixes in includes/data-stores/class-wc-product-variable-data-store-cpt.php 2018-03-08 15:33:02 -03:00
Rodrigo Primo 74f2810cf6 PHPCS fixes in includes/data-stores/class-wc-product-grouped-data-store-cpt.php 2018-03-08 15:32:48 -03:00
Rodrigo Primo efccead01e PHPCS fixes in includes/data-stores/class-wc-payment-token-data-store.php 2018-03-08 15:32:36 -03:00
Rodrigo Primo 0572ab5e7a PHPCS fixes in includes/data-stores/class-wc-order-refund-data-store-cpt.php 2018-03-08 15:32:23 -03:00
Rodrigo Primo ff1e23e660 PHPCS fixes in includes/data-stores/class-wc-order-item-tax-data-store.php 2018-03-08 15:31:55 -03:00
Rodrigo Primo e7cfddad35 PHPCS fixes in includes/data-stores/class-wc-order-item-shipping-data-store.php 2018-03-08 15:31:43 -03:00
Rodrigo Primo d945ece8fa PHPCS fixes in includes/data-stores/class-wc-data-store-wp.php 2018-03-08 15:31:19 -03:00
Rodrigo Primo fee648f696 Fix phpcs violations in includes/data-stores/class-wc-product-data-store-cpt.php 2018-03-08 14:30:48 -03:00
Rodrigo Primo 2b5103c849 Fix phpcs violations using phpcbf 2018-03-08 14:30:43 -03:00
Mike Jolley c7e9c11dd7
Merge pull request #19313 from woocommerce/update/formatting-functions-phpcs
Fixed includes/wc-formatting-functions.php PHPCS violations
2018-03-08 16:00:23 +00:00
Claudio Sanches b008e4b5cf Fixed includes/wc-formatting-functions.php PHPCS violations 2018-03-08 12:22:58 -03:00
mweimerskirch 28df2ce3e0
Added a filter allowing to change the order status to the BACS gateway
The structure is the same as for the COD gateway (there, the filter is called "woocommerce_cod_process_payment_order_status").
2018-03-08 16:11:54 +01:00
Mike Jolley 43655f349e
Merge pull request #19305 from woocommerce/update/coupon-functions-phpcs
Fixed includes/wc-coupon-functions.php PHPCS violations
2018-03-08 15:06:07 +00:00
Mike Jolley a7c745a520
Merge pull request #19301 from woocommerce/fix/phpcs-includes-shipping
PHPCS fixes for includes/shipping directory
2018-03-08 15:05:40 +00:00
Mike Jolley e4afb25931
Merge pull request #19300 from woocommerce/fix/phpcs-includes-payment-tokens
PHPCS fixes for includes/payment-tokens directory
2018-03-08 15:03:39 +00:00
Mike Jolley 8a11a13b70
Merge pull request #19289 from woocommerce/fix/phpcs-includes-log-handler
PHPCS fixes for includes/log-handlers directory
2018-03-08 15:02:47 +00:00
Mike Jolley d289be327b Merge branch 'master' 2018-03-08 13:24:01 +00:00
Mike Jolley 0c10c28cd3
Merge pull request #18175 from woocommerce/update/17252
Rollback if payment complete or update status fails
2018-03-08 13:12:34 +00:00
Mike Jolley 04eadf13ac Merge branch 'master' into update/18894 2018-03-08 13:08:40 +00:00
Mike Jolley 3265f594d8 Only add schema for ratings when enabled. 2018-03-08 13:03:58 +00:00
Gerhard Potgieter f1107e94e2 Basic personal info lookup and dump 2018-03-08 14:49:02 +02:00
Mike Jolley bd2188e87c
Merge pull request #19291 from Chunkford/patch-1
Moving cart rounding discount function to core functions
2018-03-08 12:27:03 +00:00
Claudio Sanches 731f2a238e Fixed includes/wc-coupon-functions.php PHPCS violations 2018-03-07 18:40:48 -03:00
Claudio Sanches 2b0a87b80f Fixed includes/wc-core-functions.php PHPCS violations 2018-03-07 18:37:32 -03:00
Rodrigo Primo 6938f2ecc9
Merge pull request #19290 from woocommerce/update/account-functions-phpcs
Fixed includes/wc-account-functions.php PHPCS violations
2018-03-07 15:56:52 -03:00
Rodrigo Primo 85436b1c56 Fix phpcs violations in includes/shipping/local-pickup/class-wc-shipping-local-pickup.php 2018-03-07 15:30:26 -03:00
Rodrigo Primo 9492d28bf5 Fix phpcs violations in includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php 2018-03-07 15:30:15 -03:00
Rodrigo Primo 9c23fd85d6 Fix phpcs violations in includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php 2018-03-07 15:30:00 -03:00
Rodrigo Primo 1088d45c80 Fix phpcs violations in includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php 2018-03-07 15:29:48 -03:00
Rodrigo Primo 90d27c65da Fix phpcs violations in includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php 2018-03-07 15:29:36 -03:00
Rodrigo Primo 16510b0e73 Fix phpcs violations in includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php 2018-03-07 15:29:23 -03:00
Rodrigo Primo 3d1c6b1f7d Fix phpcs violations in includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php 2018-03-07 15:29:10 -03:00
Rodrigo Primo 09c42033a0 Fix phpcs violations in includes/shipping/free-shipping/class-wc-shipping-free-shipping.php 2018-03-07 15:28:57 -03:00
Rodrigo Primo a4bdfddaa5 Fix phpcs violations in includes/shipping using phpcbf 2018-03-07 15:04:56 -03:00
Rodrigo Primo a8e03a1c4a Fix phpcs violations in includes/payment-tokens/class-wc-payment-token-echeck.php 2018-03-07 14:55:04 -03:00
Rodrigo Primo 799863ea71 Fix phpcs violations in includes/payment-tokens/class-wc-payment-token-cc.php 2018-03-07 14:54:49 -03:00
Rodrigo Primo 273ac18087 Rename class WC_Payment_Token_eCheck to WC_Payment_Token_ECheck
Doing this change to make the class name compatible with WP coding standards.
2018-03-07 14:50:21 -03:00
Rodrigo Primo bcfd0b77d6 Fix PHPCS violations in includes/paymentt-tokens automatically using phpcbf 2018-03-07 14:37:08 -03:00
Rodrigo Primo 6f7d34d11e Fix phpcs violations in includes/emails/class-wc-email.php 2018-03-07 14:27:56 -03:00
Rodrigo Primo 476c2de322 Fix phpcs violations in includes/emails/class-wc-email-new-order.php 2018-03-07 14:27:43 -03:00
Rodrigo Primo 3503336979 Fix phpcs violations in includes/emails/class-wc-email-failed-order.php 2018-03-07 14:27:32 -03:00
Rodrigo Primo 3fc20c31be Fix phpcs violations in includes/emails/class-wc-email-customer-reset-password.php 2018-03-07 14:27:17 -03:00
Rodrigo Primo 432e237870 Fix phpcs violations in includes/emails/class-wc-email-customer-refunded-order.php 2018-03-07 14:27:04 -03:00
Rodrigo Primo 6190b52857 Fix phpcs violations in includes/emails/class-wc-email-customer-processing-order.php 2018-03-07 14:26:51 -03:00
Rodrigo Primo 7cd8fb5e8b Fix phpcs violations in includes/emails/class-wc-email-customer-on-hold-order.php 2018-03-07 14:26:34 -03:00
Rodrigo Primo 036a88afae Fix phpcs violations in includes/emails/class-wc-email-customer-note.php 2018-03-07 14:26:23 -03:00
Rodrigo Primo 8da42648d2 Fix phpcs violations in includes/emails/class-wc-email-customer-new-account.php 2018-03-07 14:26:11 -03:00
Rodrigo Primo 4d2c3a324b Fix phpcs violations in includes/emails/class-wc-email-customer-invoice.php 2018-03-07 14:25:55 -03:00
Rodrigo Primo 925ee1a526 Fix PHPCS violations in includes/emails/class-wc-email-customer-completed-order.php 2018-03-07 14:25:37 -03:00
Rodrigo Primo 07fd8b8049 Fix PHPCS violations in includes/emails/class-wc-email-cancelled-order.php 2018-03-07 14:25:19 -03:00
Mike Jolley b727f4ce64 Hash may not exist 2018-03-07 15:13:40 +00:00
Claudio Sanches bea2ec7fba Fixed includes/wc-cart-functions.php PHPCS violations 2018-03-07 12:12:27 -03:00
Rodrigo Primo 575e095190 Fix PHPCS violations in includes/emails automatically using phpcbf 2018-03-07 11:15:17 -03:00
Claudio Sanches be12e37e34 Fixed includes/wc-attribute-functions.php PHPCS violations 2018-03-07 10:58:37 -03:00
Mike Jolley 765ed9ccf0 notes 2018-03-07 13:57:33 +00:00
Claudio Sanches b17440623e Fixed includes/wc-account-functions.php PHPCS violations 2018-03-07 10:55:46 -03:00
Rodrigo Primo 3a76769859 PHPCS fixes in includes/log-handlers/class-wc-log-handler-file.php 2018-03-07 10:49:45 -03:00
Rodrigo Primo 3d93e5d545 PHPCS fixes in includes/log-handlers/class-wc-log-handler-email.php 2018-03-07 10:49:32 -03:00
Rodrigo Primo 2d4afdc1d8 PHPCS fixes in includes/log-handlers/class-wc-log-handler-db.php 2018-03-07 10:49:17 -03:00
Mike Jolley e8e5b40ba8 Just a basic class 2018-03-07 13:45:25 +00:00
Chunkford 5416c58f4e
Update class-wc-discounts.php 2018-03-07 13:36:43 +00:00
Rodrigo Primo ea93fca4ff Fix PHPCS violations in includes/log-handlers/ using phpcbf 2018-03-07 10:30:00 -03:00
Chunkford 732416ff34
Update wc-cart-functions.php 2018-03-07 13:21:23 +00:00
Chunkford c411c43fdf
Update wc-core-functions.php 2018-03-07 13:14:59 +00:00
Mike Jolley 6d76cb71fd Introduce woocommerce_product_loop helper 2018-03-07 12:54:00 +00:00
Mike Jolley fdab6665c0
Merge pull request #19200 from woocommerce/fix/installed-plugin-not-activated-if-directory-not-matching-slug
Activate plugins during installation process even if directory doesn't match slug
2018-03-07 12:00:14 +00:00
Mike Jolley 7c2ed135d5
Merge pull request #19255 from woocommerce/update/16779
Invalidate cart items when important props are updated
2018-03-07 11:48:11 +00:00
Mike Jolley 07e17aafd5 typo 2018-03-07 11:47:42 +00:00
Mike Jolley 823332b5db
Merge pull request #19267 from xlplugins/master
PHP Fatal Error when invalid variation ID provided in WC_Product_Variable::get_available_variation()
2018-03-07 11:45:56 +00:00
Mike Jolley b34e163bd5 No js for all the themes. 2018-03-07 11:44:41 +00:00
Amritansh_tact9 10e80c83d1 Applied array_filter() to the $avaiable_variations in WC_Product_Variable::get_available_variations() to ensure only array type values get returned.
Added docbock in favor of boolean false for WC_Product_Variable::get_available_variation()
2018-03-07 17:07:42 +05:30
Mike Jolley 4e262a81c1
Merge pull request #19261 from woocommerce/fix/phpcs-customizer
PHPCS fixes for customizer and export directories
2018-03-07 11:26:45 +00:00
Mike Jolley 7cb2e11c01 Merge branch 'pr/19257' 2018-03-07 11:18:53 +00:00
Mike Jolley cc08eff0b0 Standards 2018-03-07 11:18:42 +00:00
Mike Jolley 2334ef1f65
Merge pull request #19268 from woocommerce/remove-unused-methods
Remove unused code from WC_CLI_REST_Command class
2018-03-07 11:16:51 +00:00
Mike Jolley 7255e4a371
Merge pull request #19281 from woocommerce/fix/19279-db-version-fatal-system-status
Dont use mysql functions directly on system status page
2018-03-07 11:10:36 +00:00
Mike Jolley bb94d2467f
Merge pull request #19160 from woocommerce/fix/19112
Set is_tax to true when on unsupported theme taxonomy archive
2018-03-07 10:39:39 +00:00
Mike Jolley 69b09af0f0 Merge branch 'master' into fix/19175 2018-03-07 10:33:24 +00:00
Mike Jolley 696c1186f0 Update text and opt-in 2018-03-07 10:32:47 +00:00
Amritansh_tact9 7e05af1296 Replaced `WC_Product` with `WC_Product_Variation` for a more specific check in WC_Product_Variable::get_available_variation(). 2018-03-07 15:59:21 +05:30
Rodrigo Primo cc67dc9f74 Merge branch 'master' into remove-unused-methods 2018-03-07 07:27:43 -03:00
Rodrigo Primo 266b362d7e
Merge pull request #19271 from woocommerce/fix/includes-admin-plugin-updates-phpcs-violations
PHPCS fixes for includes/admin/plugin-updates directory
2018-03-07 07:17:54 -03:00
Rodrigo Primo 3d99fecc6b
Merge pull request #19269 from woocommerce/fix/includes-cli-phpcs-violations
PHPCS fixes for includes/cli directory
2018-03-07 07:17:35 -03:00
Mike Jolley 9f918cacc6
Merge pull request #19274 from woocommerce/update/api-phpcs
Fixed PHPCS violations on includes/api
2018-03-07 10:16:30 +00:00
Gerhard Potgieter 4b8a82093d Make system status DB version display compatible with rest system status controller data. Closes #19279 2018-03-07 08:18:23 +02:00
Rodrigo Primo af47f7b0b2 Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-products.php 2018-03-06 15:08:46 -03:00
Rodrigo Primo 2ec74d2e15 Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-orders.php 2018-03-06 15:08:30 -03:00
Rodrigo Primo d2bfa5e6c5 Fix PHPCS violations in includes/admin/list-tables/class-wc-admin-list-table-coupons.php 2018-03-06 15:08:16 -03:00
Rodrigo Primo f4c17e20c7 Fix PHPCS violations in includes/admin/list-tables/abstract-class-wc-admin-list-table.php 2018-03-06 15:08:00 -03:00
Claudio Sanches f0d37ff4f5 Fixed PHPCS violations on REST API 2018-03-06 15:04:58 -03:00
Roy Lindauer bb9afb29be
cached_counts would not be defined if cache is false 2018-03-06 07:32:12 -08:00
Rodrigo Primo 2169f1f567 Fix PHPCS violations in includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php 2018-03-06 10:58:45 -03:00
Rodrigo Primo f38e76421a Fix PHPCS violations in includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php 2018-03-06 10:58:03 -03:00
Rodrigo Primo 3932710136 Fix PHPCS violations in includes/admin/plugin-updates/class-wc-plugin-updates.php 2018-03-06 10:50:06 -03:00
Rodrigo Primo ba563b8ec0 Fix PHPCS violations in includes/admin/plugin-updates/class-wc-plugins-screen-updates.php 2018-03-06 10:44:35 -03:00
Rodrigo Primo 85e01565e0 Fix PHPCS violations in includes/admin/plugin-updates/class-wc-updates-screen-updates.php 2018-03-06 10:34:18 -03:00
Rodrigo Primo 95b14b3674 Merge branch 'master' into fix/includes-cli-phpcs-violations 2018-03-06 10:32:56 -03:00
Rodrigo Primo cd90c9bbc8 Fix PHPCS violations in includes/cli/class-wc-cli-update-command.php 2018-03-06 09:28:29 -03:00
Rodrigo Primo 8eb32d2c8c Fix PHPCS violations in includes/cli/class-wc-cli-tool-command.php 2018-03-06 09:24:47 -03:00
Rodrigo Primo 66911be455 Fix PHPCS violations in includes/cli/class-wc-cli-runner.php 2018-03-06 09:20:58 -03:00
Rodrigo Primo 70a03e6dfa Fix PHPCS violations in includes/cli/class-wc-cli-rest-command.php 2018-03-06 09:07:33 -03:00
Rodrigo Primo 4f18567e74 Remove unused code from WC_CLI_REST_Command class
This commit removes three unused methods and one unused property from the WC_CLI_REST_Command class that I found while fixing PHPCS violations in the includes/cli directory.
2018-03-06 08:58:32 -03:00
Rodrigo Primo b6674b3a8f Replace calls to json_decode() with wp_json_decode() 2018-03-06 08:18:31 -03:00
Amritansh_tact9 da5e31ce2c Updated WC_Product_Variable::get_available_variation() to handle cases when variation ID provided is deleted/invalid. Throwing PHP fatal error on the next line where $variation->get_price() 2018-03-06 16:10:49 +05:30
Gerhard Potgieter 87c30fd228 PHPCS passing for class-wc-webhook-data-store-interface.php 2018-03-06 12:00:33 +02:00
Gerhard Potgieter 754df69994 PHPCS passing for class-wc-shipping-zone-data-store-interface.php 2018-03-06 11:59:23 +02:00
Gerhard Potgieter 4c6e954c8e PHPCS passing for class-wc-product-variable-data-store-interface.php 2018-03-06 11:56:07 +02:00
Gerhard Potgieter 936df3e1bb PHPCS passing for class-wc-product-data-store-interface.php 2018-03-06 11:53:40 +02:00
Gerhard Potgieter e933b8cfd0 PHPCS passing for class-wc-payment-token-data-store-interface.php 2018-03-06 11:49:02 +02:00
Gerhard Potgieter 00193f5ee4 PHPCS passing for class-wc-order-refund-data-store-interface.php 2018-03-06 11:46:27 +02:00
Gerhard Potgieter 7cd7b18bb3 PHPCS passing for class-wc-order-item-type-data-store-interface.php 2018-03-06 11:45:29 +02:00
Gerhard Potgieter 1a2b44f2d3 PHPCS passing for class-wc-order-item-product-data-store-interface.php 2018-03-06 11:43:37 +02:00
Gerhard Potgieter c354b93091 PHPCS passing for class-wc-order-item-data-store-interface.php 2018-03-06 11:42:03 +02:00
Gerhard Potgieter e504022c72 PHPCS passing for class-wc-order-data-store-interface.php 2018-03-06 11:38:03 +02:00
Gerhard Potgieter 42c5e183cd PHPCS passing for class-wc-object-data-store-interface.php 2018-03-06 11:34:16 +02:00
Gerhard Potgieter 96cbebb06b PHPCS passing for class-wc-logger-interface.php 2018-03-06 10:23:28 +02:00
Gerhard Potgieter 1ba9f86001 PHPCS passing for class-wc-log-handler-interface.php 2018-03-06 10:21:27 +02:00
Gerhard Potgieter 8d2cb4850b PHPCS passing for class-wc-importer-interface.php 2018-03-06 10:19:31 +02:00
Gerhard Potgieter 37eacc2585 PHPCS passing for class-wc-customer-download-log-data-store-interface.php 2018-03-06 10:18:33 +02:00
Gerhard Potgieter 2ed9993599 PHPCS passing for class-wc-customer-download-data-store-interface.php 2018-03-06 10:17:25 +02:00
Gerhard Potgieter 993d9cd232 PHPCS passing for class-wc-customer-data-store-interface.php 2018-03-06 10:14:45 +02:00
Gerhard Potgieter 17b6c78d00 PHPCS passing for class-wc-coupon-data-store-interface.php 2018-03-06 10:13:06 +02:00
Gerhard Potgieter 10d1c7f623 PHPCS passing for class-wc-abstract-order-data-store-interface.php 2018-03-06 10:08:42 +02:00
Gerhard Potgieter 85636f8fe7 PHPCS passing for abstract-wc-product-importer.php 2018-03-06 10:04:37 +02:00
Gerhard Potgieter 38892f3067 PHPCS passing for abstract-wc-csv-exporter.php 2018-03-06 07:55:15 +02:00
Gerhard Potgieter 1c191688f8 PHPCS passing for abstract-wc-batch-exporter.php 2018-03-06 07:52:03 +02:00
Gerhard Potgieter b4ec1d372c PHPCS passing for class-wc-customizer-controll-cropping.php 2018-03-06 07:31:20 +02:00
Mike Jolley 88c7c1333b No back links, better link styling 2018-03-05 21:59:32 +00:00
Jon Brown e6f2126b11
opps... not DRY
Photon check should probably should be abstracted, but this works for now
2018-03-05 11:08:40 -10:00
Claudio Sanches e8017e985b Fixed coding standards issues with PHPCBF 2018-03-05 17:53:06 -03:00
Jon Brown 87695bddb7
Checking class exists is insufficient allows for a fatal error when Jetpack class is defined without specific method
There are a half dozen stripped-down versions of JetPack's modules like JP Custom CSS, JP Widget visibility, etc... these all define a class called "Jetpack" but don't define all the methods.
2018-03-05 10:30:05 -10:00
Mike Jolley 1536d50824 Merge branch 'master' into update/18389-wizard-steps-improvements 2018-03-05 20:24:26 +00:00
Mike Jolley 46862deb17 wc_get_cart_item_data_hash function 2018-03-05 19:57:57 +00:00
Rodrigo Primo 44a5903ce6 Fix PHPCS violations in includes/cli using phpcbf
Fix all violations that phpcbf can fix automatically.
2018-03-05 16:46:54 -03:00
Sofyan Sitorus 7d04431571 Add contional check to compare cart item date_modified with product date_modified 2018-03-05 19:42:11 +00:00
Rodrigo Primo 45a404cc3b Merge branch 'master' into includes-admin-phpcs-fixes 2018-03-05 16:40:39 -03:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Mike Jolley 58c87e3fcd
Merge pull request #19148 from woocommerce/tweak/post-processing-custom-coupons
Add filter to allow post processing on custom coupons
2018-03-05 19:18:04 +00:00
Mike Jolley d5a6b4fec1
Merge pull request #19228 from Chunkford/patch-5
Add filter to a coupon's expiry date check
2018-03-05 19:07:01 +00:00
Mike Jolley 66ad22e3fa
Merge pull request #19128 from woocommerce/fix/19123-cli-term-ids
Use correct arg when making rest request in cli
2018-03-05 18:39:48 +00:00
Mike Jolley 73c85ec38d
Merge pull request #19173 from woocommerce/update/19154
Move jquery ui styles to assets
2018-03-05 18:35:46 +00:00
Mike Jolley 838a4bbea3 Remove unused variable 2018-03-05 18:35:07 +00:00
Claudiu Lodromanean b6c1a9d2c1
Merge pull request #19220 from woocommerce/fix/19218
Only append tax label if taxes are enabled
2018-03-05 09:26:10 -08:00
Gerhard Potgieter 5075fb4964 PHPCS passing for abstract-wc-widget.php 2018-03-05 15:21:04 +02:00
Gerhard Potgieter 17f013b5b1 PHPCS passing for abstract-wc-shipping-method.php 2018-03-05 15:08:55 +02:00
Gerhard Potgieter f56c6366c1 PHPCS passing for abstract-wc-settings-api.php 2018-03-05 15:01:21 +02:00
Gerhard Potgieter d968621afb PHPCS passing for abstract-wc-session.php 2018-03-05 15:00:52 +02:00
Gerhard Potgieter ba1e7d1e99 PHPCS passing for abstract-wc-rest-shipping-zones-controller.php 2018-03-05 14:59:35 +02:00
Gerhard Potgieter 74ec8a4a14 PHPCS passing for abstract-wc-rest-posts-controller.php 2018-03-05 14:58:28 +02:00
Gerhard Potgieter fb3afa672d PHPCS passing for abstract-wc-rest-crud-controller.php 2018-03-05 14:55:17 +02:00
Gerhard Potgieter 5dcfeac7c1 PHPCS passing abstract-wc-rest-controller.php 2018-03-05 14:52:49 +02:00
Gerhard Potgieter 7f2362aab1 PHPCS passing abstract-wc-product.php 2018-03-05 14:46:34 +02:00
Gerhard Potgieter cb87a0ee54 PHPCS passing for abstract-wc-payment-token.php 2018-03-05 13:54:54 +02:00
Gerhard Potgieter 940ab475d4 PHPCS passing for abstract-wc-payment-gateway.php 2018-03-05 13:48:54 +02:00
Gerhard Potgieter 440358a4f2 PHPCS passing for abstract-wc-order.php 2018-03-05 13:41:04 +02:00
Gerhard Potgieter 9fd043eaea PHPCS passing for abstract-wc-object-query.php 2018-03-05 13:39:05 +02:00
Gerhard Potgieter b3c998b0cd PHPCS passing for abstract-wc-long-handler 2018-03-05 13:36:56 +02:00
Gerhard Potgieter 41958de93d PHPCS passing for abstract-wc-integration.php 2018-03-05 13:34:38 +02:00
Gerhard Potgieter 42978bb031 PHPCS passing for abstract-wc-data.php 2018-03-05 13:29:18 +02:00
Mike Jolley ab9389ec83
Merge pull request #19110 from woocommerce/feature/18056
Remember importer mappings
2018-03-03 17:22:48 +00:00
Mike Jolley 46ab27e4e8
Merge pull request #18820 from alexmacarthur/pii-removal
PII Issue Prevention - Remove user login from reset password link.
2018-03-03 17:19:55 +00:00
Chunkford dce96daa84
Add filter to a coupon's expiry date check
I need the ability (and hopefully others now or in the future) to intercept the expiry date check for a coupon.
This pull request offers that ability.
2018-03-03 11:46:14 +00:00
Roy Lindauer 4147038e93 Add filter to control caching of layered nav counts. Split cached layered nav counts by taxonomy 2018-03-02 22:14:20 -08:00
Mike Jolley 85450f60ec Merge branch 'master' into pr/18596 2018-03-02 19:31:37 +00:00
Mike Jolley a869f896bf
Merge pull request #19166 from woocommerce/tweak/coupon-price-ui
Improve UI on Coupon amount in cart
2018-03-02 19:26:48 +00:00
Claudio Sanches d822076115
Merge pull request #19201 from danielshields/patch-1
Fix the PayPal API URL
2018-03-02 16:02:48 -03:00
Mike Jolley f0fc684704 Wording update 2018-03-02 16:44:26 +00:00
Mike Jolley 57cfa72d99 Only append tax label if taxes are enabled 2018-03-02 16:22:54 +00:00
Claudiu Lodromanean 079edc9ca6
Merge pull request #19204 from woocommerce/update/prodshortcod
New shortcode features for products block
2018-03-01 15:05:04 -08:00
Mike Jolley bd91ea27ab Update tracker to be opt-in and contain proper instructions
Fixes #19175
2018-03-01 19:31:30 +00:00
claudiulodro 383317c256 Layered nav support on unsupported theme archives 2018-03-01 11:28:00 -08:00
Claudiu Lodromanean 62a823dadf
Merge pull request #19171 from woocommerce/update/19145
Improve store notice customizer handling
2018-03-01 10:54:11 -08:00
claudiulodro 8cf36aa0d2 New shortcode features for products block 2018-03-01 10:05:22 -08:00
danielshields e2da7fd277
Fix the PayPal API URL
Assuming they changed the section title, as the permalink is now "create" vs "creating"
2018-03-01 12:30:38 -05:00
Mike Jolley 418ee11839 This tracking notice is not used. 2018-03-01 17:01:55 +00:00
Paul Dechov 08e8ca7823 Activate plugins during installation process even if directory doesn't match slug 2018-03-01 11:50:54 -05:00
Mike Jolley b4579bb502 Merge branch 'master' into update/16912 2018-03-01 16:38:04 +00:00
Mike Jolley 3d4b1e6d4c Return new logger instance if class changes. 2018-03-01 16:24:53 +00:00
Mike Jolley 21d7dbc612 Merge branch 'master' into update/17252 2018-03-01 15:58:17 +00:00
Mike Jolley f162fdb9d1 Merge branch 'master' into update/17795 2018-03-01 12:13:14 +00:00
nishitlangaliya 11f329b500 Fixes- Admin - removed product type column 2018-03-01 16:43:13 +05:30
Caleb Burks 0568470bb8 Only show T&C's notice if there is a valid T&Cs page 2018-02-28 21:58:34 -05:00
Claudio Sanches ffd7915d49 Make sure that option is an array 2018-02-28 16:46:52 -03:00
Claudio Sanches de804dbe7b Make sure that user saved mapping preferences are applied after all filters 2018-02-28 16:40:26 -03:00
Claudio Sanches 3ca1139cf9 Sanitize mapping before save 2018-02-28 16:36:35 -03:00
Claudio Sanches 8500000da7 Updated user option key 2018-02-28 16:04:20 -03:00
Mike Jolley 49c2f2b28e Also during clean_term_cache 2018-02-28 18:35:58 +00:00
Mike Jolley 4bce7b0223 Use single cache for hierarchy 2018-02-28 18:24:03 +00:00
Rodrigo Primo 56cb3d2d4f Check if download ID is valid before running query 2018-02-28 13:41:11 -03:00