Commit Graph

30848 Commits

Author SHA1 Message Date
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
Peter Fabian 2b8d2cf3dd PHPCS on test file. 2019-03-13 13:30:59 +01: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
Peter Fabian 0aa9a09d18 Enforced attribute order to make result unambiguous. 2019-03-13 12:36:46 +01: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 ebb41738f0
Merge pull request #23008 from woocommerce/revert-22967-try/prioritise-extension-targeted-suggestions
Revert "prioritise targeted suggestions in products list:"
2019-03-12 19:15:48 -07:00
Rua Haszard 56ebaad549
Revert "prioritise targeted suggestions in products list:" 2019-03-13 14:50:06 +13: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
Rodrigo Primo 73fbed3411
Merge pull request #23004 from woocommerce/fix/legact-date-update
Check updated props for date variables
2019-03-12 16:42:58 -03: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
Peter Fabian 918ea3c5aa Added test for attribute_summary. 2019-03-12 18:40:04 +01: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
Mike Jolley 53a7de5244
Merge pull request #22948 from woocommerce/fix/22940
Correctly show state fields after posting the edit address form
2019-03-12 13:20:32 +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 Potgieter 269ab2dde0
Merge pull request #22967 from woocommerce/try/prioritise-extension-targeted-suggestions
prioritise targeted suggestions in products list:
2019-03-12 12:27:58 +02: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