Commit Graph

18107 Commits

Author SHA1 Message Date
Ron Rennick 74789834fe update action scheduler to version 2.2.1 2019-03-13 10:45:39 -03:00
Mike Jolley d17dc119bc SKU lookup 2019-03-13 13:30:49 +00:00
Mike Jolley df0c432de2 update_product_stock should sync lookup table 2019-03-13 13:30:31 +00:00
Mike Jolley f6d9e7796f is_existing_sku use lookup 2019-03-13 13:25:55 +00:00
Gerhard e86fbf62cc Add transient caching to the blog_details values tracks collects. 2019-03-13 15:12:07 +02:00
Mike Jolley e6c60dd6c2 Show notice when regeneration is taking place with link to AS 2019-03-13 12:25:20 +00:00
Rodrigo Primo 5d14d30b8c Remove outdated comment
Commit
be05eea5da (diff-133db5662c51f5686d87611121a05a3bL88)
changed how ajax events are stored and now an associative array is not used anymore for both private and non private events. Instead two different arrays are now used one for each type of event.
2019-03-13 09:21:29 -03:00
Rodrigo Primo ab89222cfa Fix typo
Typo added in be05eea5da (diff-133db5662c51f5686d87611121a05a3bR45)
2019-03-13 09:10:53 -03:00
Mike Jolley 2c14a8ddfb
Merge pull request #23006 from woocommerce/fix/phpcs-error
Fix error introduced by commit be05eea5da
2019-03-13 10:59:17 +00:00
Mike Jolley b4cfef95a2 Stop calling notice file 2019-03-13 10:40:38 +00:00
Mike Jolley 54fac746b3 Remove unused notice file 2019-03-13 10:40:11 +00:00
Mike Jolley 6f4eeef2fe Move deprecated notices to bottom of class and add deprecated tag 2019-03-13 10:37:30 +00:00
Mike Jolley ef352c2b48 Outofstock lookup 2019-03-13 10:10:24 +00:00
Mike Jolley b4aa0c3915 use found rows 2019-03-13 10:06:49 +00:00
Mike Jolley f5bd3be2c2 most stocked lookup table 2019-03-13 09:59:14 +00:00
Timmy Crawford f7b58862f0 Fix phpcs issues. 2019-03-12 17:10:48 -07:00
Timmy Crawford 6c22bfb96a REST API: Add Private REST API docblock and response headers. 2019-03-12 16:26:10 -07:00
Rodrigo Primo a41e29e05f Fix error introduced by commit be05eea5da
Commit be05eea5da (diff-133db5662c51f5686d87611121a05a3bR1420) fixed all the PHPCS violations in includes/class-wc-ajax.php, but it unintentionally changed that the logic of WC_Ajax::json_search_products(). This commit reverts the changes to the old logic while keeping the PHPCS fixes.

Before the modification mentioned above, `$_GET['term']` would be used only if `$term` was empty. After this modification, `$_GET['term']` is used whenever it is set and `$term` (the parameter passed to the method) stopped being used. This commit restores the original logic in that what is passed in the first parameter as `$term` is used by default, and `$_GET['term']` is only used if `$term` is empty.
2019-03-12 20:23:28 -03:00
Mike Jolley ac21a4bc33 phpcs 2019-03-12 22:26:53 +00:00
Mike Jolley 3b98d2de8d Switch low stock report to lookup table
Baseline page load time down from 60s to 0.7s
2019-03-12 22:26:46 +00:00
Mike Jolley a6a035ec92 Fix low stock query to ref correct lookup table column 2019-03-12 22:16:42 +00:00
Mike Jolley c52eac2871 check updated props for variables 2019-03-12 19:22:30 +00:00
Rodrigo Primo 47135c6a68
Merge pull request #22997 from woocommerce/fix/22992
Add stock to search results manually
2019-03-12 15:12:43 -03:00
Mike Jolley 203dba5a1f After logging in, migrate session data 2019-03-12 16:36:15 +00:00
Mike Jolley 5b1814016b Add stock with different function 2019-03-12 14:48:05 +00:00
Rodrigo Primo c4d6f3dac3 Replace deprecated WPCS rule
This commit replaces all the instances where the WPCS rule `WordPress.VIP.SlowDBQuery` was used with `WordPress.DB.SlowDBQuery`. `WordPress.VIP.SlowDBQuery` was deprecated in WPCS 2.0 and `WordPress.DB.SlowDBQuery` was added as a replacement (see 5f27d8e3a4/CHANGELOG.md (L130)).
2019-03-12 11:24:09 -03:00
Mike Jolley f8dded8b49 merge refactor/22762 into master 2019-03-12 13:49:10 +00:00
Mike Jolley 20d7603dd6 Merge branch 'fix/21034' 2019-03-12 13:47:08 +00:00
Mike Jolley 4ab3cc2204 Merge branch 'update/21017' 2019-03-12 13:45:48 +00:00
Mike Jolley 561afbabbd
Merge pull request #22949 from woocommerce/update/22929
Update order discount display
2019-03-12 13:35:42 +00:00
Mike Jolley 925ef8a8f5
Merge pull request #22979 from woocommerce/fix/22952
Set reply-to address for all emails
2019-03-12 13:34:41 +00:00
Mike Jolley c39f447ff4 Merge branch 'fix/22937' 2019-03-12 13:27:13 +00:00
Mike Jolley a5e956e7bf
Merge pull request #22980 from woocommerce/fix/22968
Pass user ID when adding coupons via admin
2019-03-12 13:22:40 +00:00
Mike Jolley 638812cdd3
Merge pull request #22904 from woocommerce/update/20577
Updates - Docs and ActionScheduler implementation
2019-03-12 13:21:48 +00:00
Peter Fabian fb0f112c6d Update the db only once if both title and attributes got updated. 2019-03-12 12:55:15 +01:00
Gerhard 10557868dd Missing space after != 2019-03-12 12:04:26 +02:00
Mike Jolley d8f665bb89
Merge pull request #22936 from woocommerce/fix/21814
Setup Wizard: Add keyboard events for custom input toggles
2019-03-12 09:28:37 +00:00
Mike Jolley 72870d808c
Merge pull request #22890 from woocommerce/fix/21785
Avoid changing tracking preferences when disconnecting helper
2019-03-11 17:04:29 +00:00
Mike Jolley 1d7059ec90 Add other check in order totals too 2019-03-11 16:59:38 +00:00
Mike Jolley 0211757e47
Merge pull request #22988 from woocommerce/fix/payment-custom-section-saving
Refactor WC_Settings_Payment_Gateways::save
2019-03-11 16:08:24 +00:00
Mike Jolley dbfd06222a tweak logic to only save ordering when section is empty 2019-03-11 16:06:53 +00:00
Mike Jolley 749493b4f4
Merge pull request #22867 from woocommerce/fix/22838
Refactor delete zone/delete zone method data store to remove settings
2019-03-11 15:55:53 +00:00
Mike Jolley 587f792868 Dupe line 2019-03-11 15:55:25 +00:00
Mike Jolley 0877e7d8f7
Merge pull request #22954 from woocommerce/add/blocks-rest-api
Merge blocks branch: add 8 product blocks and related API endpoints
2019-03-11 15:18:20 +00:00
Mike Jolley fbda3a91d8 Merge feature/add-tracks into master 2019-03-11 15:15:50 +00:00
Mike Jolley cd92c68476 fix offset check 2019-03-11 15:00:42 +00:00
Mike Jolley b95bf94092
Merge pull request #22984 from woocommerce/fix/skip-order-count-query-when-filtered
Don’t query for an order count unnecessarily
2019-03-11 13:28:16 +00:00
Mike Jolley de509ef041
Merge pull request #22982 from woocommerce/remove/blocks-notice
Remove Blocks Plugin Notif
2019-03-11 13:27:49 +00:00
Mike Jolley e55bb84e8b
Merge pull request #22718 from woocommerce/experiment/product-sorting-index
Performance: product sorting lookup table
2019-03-11 13:27:10 +00:00
Mike Jolley 76bbc89c59
Merge pull request #22916 from woocommerce/update/22836
Add try catch block to pay_action
2019-03-11 13:25:22 +00:00
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