Commit Graph

30170 Commits

Author SHA1 Message Date
Mike Jolley 06ee00c3da Update from master 2019-02-18 15:05:48 +00:00
Mike Jolley 4fd2a9f77e Update from master 2019-02-18 15:04:58 +00:00
Mike Jolley 71d3121872 Performance: Support pagination to avoid double queries to search webhooks 2019-02-18 14:58:32 +00:00
Mike Jolley 4b3c1660f1 Dedicated count method 2019-02-18 13:41:14 +00:00
Mike Jolley 14149e4d54 phpcs 2019-02-18 13:41:06 +00:00
Mike Jolley d787c34206 get_webhooks_ids escaping 2019-02-18 13:34:13 +00:00
Mike Jolley 3a4ef0a1d8 Avoid getting all webhook ids 2019-02-18 13:19:12 +00:00
Mike Jolley d0438264ff Add limit to wc_load_webhooks 2019-02-18 13:15:32 +00:00
Mike Jolley 0c53145f2b Removed limit option from get_webhooks_ids - since transient stores all ids anyway, this logic makes more sense elsewhere 2019-02-18 13:13:59 +00:00
Mike Jolley 30db8a8d9c version comment 2019-02-18 13:07:57 +00:00
Mike Jolley 1d46294ee8 Update versions 2019-02-18 13:07:04 +00:00
Mike Jolley a662934355 phpcs 2019-02-18 12:53:59 +00:00
Mike Jolley d2682170fd Set woocommerce_load_webhooks_limit to no limit 2019-02-18 12:49:07 +00:00
Mike Jolley fa97d1a791 Update reduced stock amount under some circumstances 2019-02-18 12:27:08 +00:00
Mike Jolley fdd8a354e0
Merge pull request #22536 from woocommerce/update/21524
Delay `woocommerce_loaded` hook until all plugins are loaded.
2019-02-18 11:57:20 +00:00
Mike Jolley 461010c787 update phpcs line 2019-02-18 11:55:36 +00:00
Mike Jolley 6608ea88c6
Merge pull request #22734 from woocommerce/renovate/lint-staged-8.x
Update dependency lint-staged to v8.1.4
2019-02-18 11:53:34 +00:00
Mike Jolley fab1431a83
Merge pull request #22752 from woocommerce/renovate/eslint-5.x
Update dependency eslint to v5.14.0
2019-02-18 11:52:58 +00:00
Mike Jolley a1abeaf912
Merge pull request #22758 from ckreidl/master
added IDs to other input fields for consistency
2019-02-18 11:52:43 +00:00
Mike Jolley afe219d854 Select an option vs state 2019-02-18 11:49:46 +00:00
Mike Jolley 4672a47d67 Update from master 2019-02-18 11:41:05 +00:00
Chris Kreidl 63492aa98b added IDs to other input fields for consistency 2019-02-16 22:59:33 -05:00
Renovate Bot 5c375d23fc
Update dependency eslint to v5.14.0 2019-02-15 20:39:01 +00:00
Andrew Lazarus 07a8183f2a
Hard coded class now filterable
Ability to add library classes to price instead of overwriting template
2019-02-15 09:49:29 +01:00
Peter Fabian 6e24b85c6b Put back status parameter after extra processing.
This allows correct further processing of $request, e.g. for next/previous links, etc.
2019-02-14 17:03:53 +01:00
Mike Jolley 46d5a4c596 Revert debug code 2019-02-14 15:58:53 +00:00
Mike Jolley 2a0ba812a3 Check for decoded taxonomy name when unsetting 2019-02-14 15:58:12 +00:00
Mike Jolley c62c1e1d05 Fix save logic by moving setter into loop grabbing the value
Broken by https://github.com/woocommerce/woocommerce/pull/22650 phpcs changes
2019-02-14 15:22:36 +00:00
Mike Jolley 8c2e305823 phpcs 2019-02-14 15:05:56 +00:00
Mike Jolley 621229b894 Variations cannot be drafts - set to private. 2019-02-14 15:05:10 +00:00
Mike Jolley 39d9e4bd6f If date paid is not set but payment complete status has passed, set it anyway Ref: #22688 2019-02-14 14:45:26 +00:00
Renovate Bot 0b07779e60
Update dependency lint-staged to v8.1.4 2019-02-14 11:27:01 +00:00
Mike Jolley 84299ff5ed Update the tests 2019-02-13 17:56:41 +00:00
Mike Jolley 588b5903f7 Ignore old pre-crud actions 2019-02-13 17:55:47 +00:00
Mike Jolley 13612ef3f1 Update CRUD update hook based on status transition 2019-02-13 17:55:30 +00:00
Mike Jolley ae17d6f3bd Avoid handling wc-auto-draft
WC was erroneously adding wc- prefix to the core WP auto-draft status.

#22380 registered it formally but we don't need it.

I've reverted #22380 and handled the prefix correctly.
2019-02-13 17:52:28 +00:00
Mike Jolley 311449e943 Create is_valid_resource method to check for invalid statuses 2019-02-13 16:46:49 +00:00
Mike Jolley cf0e9f925c Refactor should_deliver logic into managable chunks 2019-02-13 16:20:09 +00:00
Mike Jolley d0abd6f09b Check for _reduced_stock meta when restocking refunded items 2019-02-13 15:05:20 +00:00
Mike Jolley 377d79e175 Merge branch 'fix/21830' 2019-02-13 14:45:00 +00:00
Mike Jolley fb5f9c1ecb
Merge pull request #22690 from Tofandel/patch-1
The "for" attribute of a label for a radio input is invalid
2019-02-13 14:40:52 +00:00
Mike Jolley 895948021c
Merge pull request #22717 from yratof/yratof-patch-1
Added filter for product title classes within product loop
2019-02-13 14:34:18 +00:00
Mike Jolley fe853e5d02
Merge pull request #22672 from Chouby/update_stock_filter
Allow to filter the direct sql query to update the product stock
2019-02-13 14:32:43 +00:00
Mike Jolley 2abf39c6ae
Merge pull request #22704 from woocommerce/fix/22696
Custom payment sections not loading fields due to logic error.
2019-02-13 14:22:39 +00:00
Mike Jolley 569a41e58b
Merge pull request #22711 from woocommerce/fix/22656
Calculation issues on single product sales by product graph/report
2019-02-13 14:17:29 +00:00
Mike Jolley 56265f3de4
Merge pull request #22683 from woocommerce/fix/22679
Add aria label for shop orderby selector
2019-02-13 14:12:02 +00:00
Mike Jolley 595715b882
Merge pull request #22705 from woocommerce/fix/22699
Archive breadcrubs should use plural name not singular
2019-02-13 14:08:59 +00:00
Andrew Lazarus 11c16f35ab
Updated product loop title filter with esc_attr() 2019-02-13 15:07:07 +01:00
Mike Jolley 1451f6101d
Merge pull request #22721 from woocommerce/fix/webhooks-payload
Load REST API endpoints before generate webhook payload
2019-02-13 13:59:55 +00:00
Mike Jolley 1bf25a24f5
Merge pull request #22722 from woocommerce/fix/22500
Fix special chars on webhook secret
2019-02-13 13:57:55 +00:00