Commit Graph

11784 Commits

Author SHA1 Message Date
Justin Sainton 29c9fa55d8 Add search_customers() filter
Includes each of the parameters passed to the method, as well as a context parameter for each query.

Our specific use case for this is for a custom wholesale ordering system, where we're wanting to limit the search to a specific role - so customizing the arguments here would be really helpful.

Ironically, proposed the same thing three years ago and the committed filter no longer exists: e91ca49b6d
2017-06-30 13:52:24 -07:00
Dale Phurrough 25ec8e4985 fixes woocommerce/woocommerce#15896 2017-06-30 21:20:23 +02:00
Claudiu Lodromanean 3fc26b7e24 Merge pull request #15890 from woocommerce/fix/15870
7day should start from midnight, not current time
2017-06-30 09:19:45 -07:00
Claudiu Lodromanean 2aaa0003d4 Merge pull request #15891 from woocommerce/fix/15874
Admin status update should be marked as a manual status transition
2017-06-30 09:13:16 -07:00
Claudiu Lodromanean 318be9db8d Merge pull request #15888 from woocommerce/update/12477
Added woocommerce_get_asset_url filter
2017-06-30 08:49:39 -07:00
Claudiu Lodromanean 5206535b62 Merge pull request #15887 from woocommerce/fix/15872
Use wc_float_to_string on item prices sent to paypal
2017-06-30 08:48:14 -07:00
Claudiu Lodromanean 4c818d584d Merge pull request #15879 from woocommerce/fix/15868
Prevent extra slashes on meta values
2017-06-30 08:36:56 -07:00
Mike Jolley c7e4be8f34 Update flexslider 2017-06-30 15:19:47 +01:00
Mike Jolley 77c938202f Merge branch 'add/15602-store-street-level-address'
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
2017-06-30 15:00:51 +01:00
Mike Jolley d6131f3a74 Field styling 2017-06-30 14:59:45 +01:00
Mike Jolley 58593a154d Admin status update should be marked as a manual status transition
Closes #15874
2017-06-30 11:40:52 +01:00
Mike Jolley 472b983498 7day should start from midnight, not current time
Fixes #15870
2017-06-30 11:34:07 +01:00
Mike Jolley dde62ef475 Added woocommerce_get_asset_url filter
Closes #12477
2017-06-30 11:05:18 +01:00
Mike Jolley 5d20b2f646 Merge pull request #15854 from woocommerce/fix/15853
Add tool for populating order address indexes.
2017-06-30 10:43:36 +01:00
Mike Jolley bf6c39fbf2 Use wc_float_to_string on item prices sent to paypal
Fixes #15872
2017-06-30 10:28:21 +01:00
Mike Jolley 277ccf0ad7 Merge pull request #15677 from ughimire/no-std
Tweak - Added remove icon on my account page dropdown of account page
2017-06-29 22:55:10 +01:00
Mike Jolley 3aa406fdf6 Merge pull request #15875 from woocommerce/fix/15873
Add important line of code back into structured data generation.
2017-06-29 22:53:55 +01:00
Mike Jolley 4f66d214fa Merge pull request #15829 from woocommerce/fix/15725
Use type check in coupon constructor
2017-06-29 22:42:43 +01:00
Mike Jolley 3bfd2bab48 Prevent extra slashes on meta values
by_mid functions do not expect slashes

Fixes #15868
2017-06-29 22:41:11 +01:00
claudiulodro 6706da6d45 Move to prevent undefined errors 2017-06-29 11:46:30 -07:00
claudiulodro 0db60b56c9 Re-add removed line. 2017-06-29 11:43:30 -07:00
Claudiu Lodromanean 62800a68f9 Merge pull request #15862 from woocommerce/fix/exclude-comment-where
Comment feed where clauses should be appended
2017-06-29 11:23:08 -07:00
claudiulodro 587dc56d9a Formatting 2017-06-29 11:16:26 -07:00
claudiulodro 2948e46cb4 Add tool for adding address indexes. 2017-06-29 11:14:09 -07:00
Mike Jolley ac32384a74 Merge pull request #15835 from woocommerce/display-wc-page-post-states
Add post states for WC pages
2017-06-29 12:42:10 +01:00
Mike Jolley ad48fd8069 Comment feed where clauses should be appended
Applies to both exclude_order_comments_from_feed_where and
exclude_webhook_comments_from_feed_where

They need to append the additonal where clause to avoid SQL errors on
the feed URL.
2017-06-29 11:29:54 +01:00
claudiulodro d19de0364c Revert "Add billing+shipping indices to old orders"
This reverts commit 2d48099f20.
2017-06-28 13:40:55 -07:00
claudiulodro 2d48099f20 Add billing+shipping indices to old orders 2017-06-28 12:03:18 -07:00
Claudio Sanches 6228e356b1 Merge pull request #15842 from woocommerce/fix/15840
Skip non existing rows on merge
2017-06-28 11:19:21 -03:00
Claudio Sanches 41cd12c123 Merge pull request #15844 from woocommerce/update/15839
Update MX states and MX state data
2017-06-28 11:14:48 -03:00
Claudio Sanches 70ae880f29 Merge pull request #15843 from woocommerce/fix/15834
Force date created on update if not set.
2017-06-28 11:11:40 -03:00
Mike Jolley 429e4bfed1 Merge pull request #15837 from thenbrent/revert_pr_14706
Revert pull request #14706 with changes to Abstract_WC_Order::get_item() to avoid critical fatal errors
2017-06-28 13:31:57 +01:00
Mike Jolley b83f3cb9af handle MX state updates 2017-06-28 12:57:37 +01:00
Mike Jolley 49f2dae450 Merge pull request #15823 from ChaseWiseman/fix-checkout-shipping-calculator
Don't output the shipping calculator markup on the Checkout page
2017-06-28 12:30:47 +01:00
Mike Jolley 8dcbf9aa8d Force date created on update if not set.
Closes #15834
2017-06-28 12:25:23 +01:00
Mike Jolley e937047d04 Skip non existing rows on merge 2017-06-28 12:06:33 +01:00
Brent Shepherd 1992d90d37 Revert "Merge pull request #14706 from crodas/make_get_item_consistent"
This reverts commit 56ffa3d2aa, reversing
changes made to 64a60de24f.
2017-06-27 22:28:23 -07:00
Caleb Burks 029c28a462 Fix copy/paste fail 2017-06-27 23:55:14 -05:00
Caleb Burks 290a90c8f8 Add post states for WC pages 2017-06-27 23:38:09 -05:00
claudiulodro 506c01f56a Fix codesniffer violations 2017-06-27 14:19:59 -07:00
claudiulodro 4e7d3333cf Use type check in coupon constructor 2017-06-27 13:53:56 -07:00
Claudio Sanches b9c76c568b Prefer "live rates form" 2017-06-27 17:00:48 -03:00
Claudio Sanches a0425ad1b9 Remove Canada Post duplicated description
Duplicated with description from
includes/admin/class-wc-admin-setup-wizard.php:506
2017-06-27 16:57:46 -03:00
Chase Wiseman f8a040ad04 Only output the shipping calculator markup on the cart page 2017-06-27 11:37:55 -07:00
Claudio Sanches 5bc03b41cf Redirect ?customer-logout=true to the correct endpoint
Checking also for `'true' === $wp->query_vars['customer-logout']` to avoid infite loops when permalinks are deactivated and "My account" is the front page.

Closes #15789
2017-06-27 14:10:20 -03:00
Claudio Sanches be0fc10bfe Merge pull request #15817 from woocommerce/fix/15795
Only set default if no value is set in API settings
2017-06-27 13:05:58 -03:00
Claudio Sanches fe542d4d4e Merge pull request #15816 from woocommerce/fix/15808
Add slashes to meta value in data store before passing to WP functions
2017-06-27 13:03:13 -03:00
Claudio Sanches fbd92c8105 Merge pull request #15815 from woocommerce/fix/15794
Prevent duplicate sections in tax and api endpoints
2017-06-27 13:01:05 -03:00
Claudiu Lodromanean 5bbe82571f Merge pull request #15814 from woocommerce/fix/15804
Fix notice and missing terms in importer
2017-06-27 08:45:52 -07:00
Mike Jolley afcfb4eb35 Only set default if no value is set in API settings 2017-06-27 15:29:31 +01:00