Commit Graph

18107 Commits

Author SHA1 Message Date
Peter Fabian be292f0209 Removed superfluous filter. 2019-03-11 13:34:31 +01:00
Gerhard f40692003b Rework payment gateway settings save functionality so it falls back to saving the current section. 2019-03-11 13:27:17 +02:00
Mike Jolley 9bd38c496e Delete method 2019-03-11 10:46:57 +00:00
Mike Jolley b71a7ac4ee Stray 1 2019-03-11 10:29:14 +00:00
Paul Sealock 6e2c67aef6 dont escape 2019-03-11 11:59:05 +13:00
Paul Sealock 60d478b642 wc_clean 2019-03-11 11:49:56 +13:00
Peter Fabian d3dfee7353 Updated docs. 2019-03-09 12:09:50 +01:00
Peter Fabian ec0767b3ce Added attribute summary prop getters and setters. 2019-03-09 12:09:09 +01:00
Peter Fabian 5256daec07 PHPCS 2019-03-09 12:06:36 +01:00
Caleb Burks afaf3482c4 Don’t query for an order count unnecessarily 2019-03-08 16:18:31 -06:00
Timmy Crawford 0ebefa53fd Remove Blocks Plugin Notif 2019-03-08 11:09:15 -08:00
Mike Jolley 87bce1f4a2 Reduce inital delay for geo data 2019-03-08 18:20:31 +00:00
Mike Jolley 15f0d2566d Use filesystem and hardcoded upload dir 2019-03-08 18:20:17 +00:00
Mike Jolley 143068332d Pass user ID when adding coupons via admin 2019-03-08 16:14:49 +00:00
Mike Jolley ff7a941235 Set reply-to address for all emails 2019-03-08 15:55:56 +00:00
Mike Jolley ddb134fe45 Redirection improvements 2019-03-08 15:11:23 +00:00
Mike Jolley bea53ebf4f Handle date offsets on save 2019-03-08 13:36:55 +00:00
Mike Jolley d9ab3b106e Clean up date lookup 2019-03-08 13:36:22 +00:00
Mike Jolley c56d3ede9f Remove day offsets 2019-03-08 13:35:30 +00:00
Mike Jolley 0e1986df7a Fix include 2019-03-08 13:11:30 +00:00
Mike Jolley 6f35239a26 Move activate/deactivate hooks to main WC class 2019-03-08 12:50:06 +00:00
Mike Jolley fcf2a1d027 Move helper includes into helper class 2019-03-08 12:48:40 +00:00
Mike Jolley 574de2e90c Move helper headers into wc_enable_wc_plugin_headers so they always exist. 2019-03-08 12:44:33 +00:00
Mike Jolley 30d3f1f49e Filter get_available_payment_gateways for valid results 2019-03-08 11:37:47 +00:00
Mike Jolley 30c58b66cc woocommerce_payment_gateways - ensure class is valid 2019-03-08 11:32:36 +00:00
Mike Jolley 3b8256414f
Merge pull request #22818 from woocommerce/fix/21800-edge-cases
Performance: Image regeneration edge cases
2019-03-08 11:01:30 +00:00
Mike Jolley 15ca2144d3
Merge pull request #22773 from woocommerce/performance/delete-empty-meta
Performance: delete empty meta
2019-03-08 10:22:31 +00:00
Mike Jolley e7c8db0796
Merge pull request #22887 from woocommerce/update/22882-additional-system-status-values
Additional System Status Options
2019-03-08 10:15:45 +00:00
Mike Jolley 1e243b43dd
Merge pull request #22962 from woocommerce/update/format-phone-function
Phone number sanitize function
2019-03-08 10:08:02 +00:00
Mike Jolley a3c2dcd8f2 Update from master 2019-03-08 09:50:56 +00:00
Paul Sealock 14d9678513 admin 2019-03-08 10:48:26 +13:00
Paul Sealock ea4407de99 dione 2019-03-08 10:42:23 +13:00
Paul Sealock 09dec90831 getting there 2019-03-08 10:20:50 +13:00
Paul Sealock 9ee0912104 even more 2019-03-08 10:11:43 +13:00
Paul Sealock 712f06014d moar 2019-03-08 10:08:34 +13:00
Paul Sealock e9d02699c4 phpcs 2019-03-08 10:05:59 +13:00
Rodrigo Primo 9574762e8b
Merge pull request #22915 from woocommerce/fix/22894
Add woocommerce_get_product_subcategories_cache_key filter
2019-03-07 16:49:17 -03:00
Claudio Sanches c892ed51a8 Better description 2019-03-07 14:15:10 -03:00
Claudio Sanches e5e64d1618 Apply wc_sanitize_phone_number in WC_Gateway_Paypal_Request 2019-03-07 14:08:40 -03:00
Claudio Sanches 82aeb2a7f4 Introduced new wc_sanitize_phone_number function 2019-03-07 14:07:32 -03:00
Claudio Sanches 8c3ef28d07 Fixed coding standards 2019-03-07 14:07:14 -03:00
Mike Jolley 5492369fe9
Merge pull request #22857 from woocommerce/feature/marketplace-suggestions
Feature/marketplace suggestions
2019-03-07 16:39:14 +00:00
Mike Jolley 3e23010ad6
Merge pull request #22693 from woocommerce/fix/21110
Send calling code to PayPal
2019-03-07 16:36:19 +00:00
Mike Jolley 33c576a2fd
Merge pull request #22570 from woocommerce/performance/slow-term-queries
Improve slow term ordering queries
2019-03-07 16:33:01 +00:00
Mike Jolley 03863c3316
Merge pull request #22950 from woocommerce/fix/22947
Use day, not time, in status widget for caching
2019-03-07 16:31:02 +00:00
Mike Jolley c0c520442c Queue events in order 2019-03-07 16:24:52 +00:00
Mike Jolley f0037ea643 split updates 2019-03-07 16:13:47 +00:00
Mike Jolley 663f724bdd Cleanup methods 2019-03-07 15:08:22 +00:00
Mike Jolley 3173167e7e Update indexes 2019-03-07 14:47:46 +00:00
Mike Jolley dc635b9561 Update search_products to use lookup table 2019-03-07 14:46:01 +00:00
Mike Jolley 0782d39a55 Stock status 2019-03-07 14:32:20 +00:00
Mike Jolley 1ab455ec09 virtual and downloadable 2019-03-07 14:07:51 +00:00
Mike Jolley 94b19dc3ca SKU and price sorting using lookup table in admin 2019-03-07 13:47:15 +00:00
Mike Jolley 91aa1b92e5 Tool to regen lookup tables 2019-03-07 13:40:12 +00:00
Mike Jolley dfc539c051 SKU column 2019-03-07 13:34:28 +00:00
Mike Jolley 122eeda7ff Avoid step rounding on query 2019-03-07 13:01:45 +00:00
Mike Jolley f6c6c18242 Update from master 2019-03-07 12:50:38 +00:00
Mike Jolley e7bb5a8f41 Merge branch 'master' into experiment/product-sorting-index 2019-03-07 12:49:25 +00:00
Mike Jolley 434c9b5815 Improve transient 2019-03-07 11:47:19 +00:00
Mike Jolley 236d9827ee fix transient 2019-03-07 11:33:23 +00:00
Mike Jolley bb7aa99d4b Add transients to post tests 2019-03-07 11:21:42 +00:00
Mike Jolley 598ac86e95 Tests 2019-03-07 11:08:29 +00:00
Mike Jolley 89a4eba859 update from 22951 2019-03-07 10:58:14 +00:00
Mike Jolley c78098c248 Version 2019-03-07 10:15:49 +00:00
Jeff Stieler 68573f6ed5
Increase Tracks performance (perhaps..) (#22829)
* Don’t block on Tracks requests and lower timeout to 1s.

* Where possible, render Tracks pixels in the page footer instead of making a blocking HTTP request from the server.

* Add direct API call fallback for Tracks event pixels.
2019-03-06 15:55:49 -07:00
Kelly Dwan b360643582 Add average rating to the products API response 2019-03-06 17:32:31 -05:00
Kelly Dwan fdefe5feac Update with latest changes from block-library 2019-03-06 17:32:29 -05:00
Kelly Dwan ea1b7d9730 Pull in changes from woo blocks PR 2019-03-06 17:28:51 -05:00
Kelly Dwan 5491d6ea55 Add note about source of file 2019-03-06 17:28:50 -05:00
Kelly Dwan 619527bb89 Fix phpcs issue 2019-03-06 17:28:49 -05:00
Kelly Dwan 148b605dbe Update copying process, copy over minified files 2019-03-06 17:28:49 -05:00
Kelly Dwan 75b5e78561 Import file to register blocks 2019-03-06 17:28:48 -05:00
Kelly Dwan 2b5ab03a2d Add the built files 2019-03-06 17:28:46 -05:00
Claudio Sanches f38e877ee4 Updated sanitize callback and fixed coding standards 2019-03-06 17:26:19 -05:00
Timmy Crawford 85713c4c1a Updates per feedback. 2019-03-06 17:26:18 -05:00
Timmy Crawford da4867e755 Update text domain. 2019-03-06 17:26:17 -05:00
Timmy Crawford 2b59c5db64 REST API: Add Blocks Products Controller 2019-03-06 17:26:17 -05:00
Timmy Crawford e17d835e66 REST API: Add wc-blocks/v1/products/categories 2019-03-06 17:26:16 -05:00
Timmy Crawford f4e17ddcee REST API: Add wc-blocks/v1/products/attributes controller. 2019-03-06 17:26:15 -05:00
Timmy Crawford f2fa01d585 PHPCS fixes. 2019-03-06 17:26:15 -05:00
Timmy Crawford c1313d433c Updates per feedback. 2019-03-06 17:26:14 -05:00
Timmy Crawford 4311670956 REST API: wc-blocks/v1/products/attributes/%d/terms 2019-03-06 17:26:13 -05:00
Mike Jolley 56fbcfd8af Include inactive plugins in system status 2019-03-06 18:29:44 +00:00
Mike Jolley 7aa82a1829 Use day, not time, in status widget for caching 2019-03-06 17:25:35 +00:00
Mike Jolley 6f983fb4eb
Merge pull request #22802 from woocommerce/fix/22643
Use taxable address when adding/removing coupons
2019-03-06 16:49:34 +00:00
Mike Jolley 95c5d145bb
Merge pull request #22540 from woocommerce/update/price-slider-improvements
Make the price filter widget tax aware redux
2019-03-06 16:47:21 +00:00
Mike Jolley 556bfd127f
Merge pull request #22909 from woocommerce/refactor/comment-rating-functions
Refactor comment/rating update functions
2019-03-06 16:46:33 +00:00
Mike Jolley 38816eb2ce Update wording and presentation of discount amount 2019-03-06 16:39:28 +00:00
Mike Jolley 0f3be9fce4 phpcs 2019-03-06 16:17:33 +00:00
Mike Jolley 48a2660f8e Queue based count population 2019-03-06 14:04:38 +00:00
Mike Jolley a697c97472 Add rating_count to lookup table 2019-03-06 14:03:44 +00:00
Mike Jolley b07f3e21db Merge branch 'master' into experiment/product-sorting-index 2019-03-06 12:54:40 +00:00
Mike Jolley b6e53d9109 PHP_INT_MAX 2019-03-06 12:46:58 +00:00
Mike Jolley e1ff1bfae9 Update from master 2019-03-06 12:37:24 +00:00
Mike Jolley 55b27a2afc Adjust calling code prefix logic in paypal 2019-03-06 12:33:46 +00:00
Mike Jolley 65c0169726 Merge branch 'master' into fix/21110 2019-03-06 12:25:12 +00:00
Mike Jolley 4330b2eb38 Update calling code handling 2019-03-06 12:25:06 +00:00
Mike Jolley 2bb39a4c79 Update from master 2019-03-06 12:08:07 +00:00
Mike Jolley 99455cfe34 update text 2019-03-06 12:00:54 +00:00
Mike Jolley ea27a3e889 Merge branch 'master' into fix/22937 2019-03-06 11:46:37 +00:00
Mike Jolley 557530e43a Use wc_format_coupon_code when handling posted values 2019-03-06 11:44:54 +00:00
Mike Jolley e8aecdb824 Use wc_format_coupon_code when handling posted values
wc_clean and other functions strip characters - using wc_format_coupon_code keeps it consistent with post_title formatting.
2019-03-06 11:44:27 +00:00
Mike Jolley 96efb7a93b Use wc_sanitize_coupon_code 2019-03-06 11:42:07 +00:00
Mike Jolley 315b79c5ac phpcs 2019-03-06 11:41:58 +00:00
Mike Jolley 39bb476db2 Introduce wc_sanitize_coupon_code 2019-03-06 11:41:52 +00:00
Mike Jolley cb9edfc9f9
Merge pull request #22751 from woocommerce/fix/21544
Fix cart widget in Safari when using browser back button
2019-03-06 11:40:23 +00:00
Joshua Flowers 795b571147 Add scripts to wc setup footer 2019-03-06 11:55:19 +13:00
haszari 1ed027bb09 snooze suggestions in product list (for 24 hours) after a suggestion is dismissed 2019-03-06 10:50:22 +13:00
Mike Jolley 16a0a3e27e Update from master 2019-03-05 19:03:01 +00:00
Mike Jolley cc6ca5bdbd Add deprecated 2019-03-05 19:00:37 +00:00
Mike Jolley 8cb385e3db Cleanup/test 2019-03-05 18:23:51 +00:00
Mike Jolley aba2f4713c Clear caches in api 2019-03-05 18:16:05 +00:00
Mike Jolley 0e943a38d7 Fix wc_get_attribute 2019-03-05 17:02:58 +00:00
Mike Jolley a42bdf94d0 avoid query in wc_attribute_orderby 2019-03-05 16:53:58 +00:00
Mike Jolley d03f5d4373 Index by ID and cache 2019-03-05 16:49:45 +00:00
Mike Jolley ed6c02b8ec wc_get_attribute caching 2019-03-05 16:21:10 +00:00
Mike Jolley 9452616a7f wc_get_attribute_taxonomy_labels with cache 2019-03-05 16:19:00 +00:00
Mike Jolley abc3b6ca47 Use cache helper for invalidation 2019-03-05 16:16:46 +00:00
Mike Jolley b2a136bfb8 wc_get_attribute_taxonomy_ids function, with cache 2019-03-05 16:10:31 +00:00
Mike Jolley 46bdad07e9 Array init code was wrong 2019-03-05 14:51:58 +00:00
Mike Jolley a5e72cfc02 Re-order elements and add tabindex 2019-03-05 14:22:59 +00:00
Mike Jolley 2c2891c17a
Merge pull request #22925 from woocommerce/fix/22896
Remove structured data from archives and include some recommended fields on single product pages
2019-03-05 14:02:07 +00:00
Mike Jolley add1765234 Inline docs 2019-03-05 13:49:02 +00:00
Mike Jolley 6d5f5be164 sync_rating_count before average in deprecated method 2019-03-05 13:47:56 +00:00
Mike Jolley f707eeda3e Update from master 2019-03-05 13:31:14 +00:00
Mike Jolley a49d4a04a1 Update throws tags 2019-03-05 13:05:55 +00:00
Mike Jolley ac6763d0d0
Merge pull request #22820 from woocommerce/fix/22496
Make 'refund amount' read-only
2019-03-05 12:56:59 +00:00
Mike Jolley 2d394a2b26
Merge pull request #22888 from woocommerce/fix/22870
Add precision to tax in discount class
2019-03-05 12:54:11 +00:00
Gerhard e36ffaa6f0 Use correct meta key _stock for updating lookup table stock. 2019-03-05 14:38:22 +02:00
Gerhard Potgieter 5a6cc36fce
Merge branch 'master' into experiment/product-sorting-index 2019-03-05 14:04:11 +02:00
Gerhard 0b6e8351d6 PHPCS fixes 2019-03-05 13:59:42 +02:00
Mike Jolley 545cbbb79c Check for required fields or bail 2019-03-05 11:44:26 +00:00
Mike Jolley bf11dbf76f If there is no url on last breadcrumb trail, use current url
Fixes #22923
2019-03-05 11:38:53 +00:00
Jeff Stieler 7caba832f6
Refactor Tracks classes to remove singletons and static methods. (#22930) 2019-03-04 17:30:01 -07:00
haszari 6caaf80fa6 add a tooltip (Dismiss this suggestion) to clarify dismiss button 2019-03-05 12:20:13 +13:00
Jeff Stieler c22c3aafa2
Track settings changes. (#22810)
* Track settings changes.
2019-03-04 15:37:59 -07:00
Paul Sealock d968b95b53 Add opt in/out to settings page 2019-03-05 11:06:45 +13:00
Mike Jolley 5b07ded976 Update from master 2019-03-04 18:00:14 +00:00
Jeff Stieler 1072d1a275 Tracks: Use wp_doing_ajax() instead of checking constant. 2019-03-04 10:04:48 -07:00
Jeff Stieler 262afba502 Add direct API call fallback for Tracks event pixels.
Handles cases where wp_redirect() is called.
2019-03-04 09:59:49 -07:00
Jeff Stieler 22c20b0d32 Where possible, render Tracks pixels in the page footer instead of making a blocking HTTP request from the server. 2019-03-04 08:59:21 -07:00
Jeff Stieler 2e2b3b9bba Don’t block on Tracks requests and lower timeout to 1s. 2019-03-04 08:59:21 -07:00
Mike Jolley 8147b82b88 Feedback 2019-03-04 14:17:11 +00:00
Mike Jolley f18f4082b2
Merge pull request #22906 from woocommerce/add/downloadable_product_permissions_index
get_downloads_for_customer performance improvement via index
2019-03-04 14:15:11 +00:00
Mike Jolley 76fabc9b7e
Merge pull request #22771 from martinsnajdr/flatrate-shipping-cost-filters
Shipping method get_option function filters
2019-03-04 13:49:22 +00:00
Mike Jolley 857c5cbc5e
Merge pull request #22855 from woocommerce/fix/22772
shop_messages shortcode requires wc_print_notices
2019-03-04 13:44:25 +00:00
Mike Jolley 5937625b5e Include priceValidUntil 2019-03-04 13:17:27 +00:00
Peter Fabian 224ea5d8af
Merge pull request #22776 from woocommerce/fix/orders-statuses-param-description
[REST API] Better description for order's status collection param
2019-03-04 14:14:04 +01:00
Mike Jolley 246c78db73 Add a review to product schema 2019-03-04 13:05:29 +00:00
Mike Jolley d104bb7d3f Add SKU with ID fallback 2019-03-04 12:47:40 +00:00