Mike Jolley
c10cd8836f
Update README.md
2016-06-30 10:36:31 +01:00
Mike Jolley
2ac99eb870
readme
2016-06-30 09:36:49 +01:00
Mike Jolley
f7bfb39c77
Merge pull request #11291 from rodrigoprimo/improve-wc-orders-count-performance
...
Improve wc_orders_count() performance by running a query to count only posts of the given status
2016-06-30 09:34:17 +01:00
Mike Jolley
53e75f3d4d
Merge pull request #11300 from rspublishing/update-class-wc-meta-box-coupon-data.php
...
Updates class-wc-meta-box-coupon-data.php
2016-06-30 09:32:40 +01:00
Mike Jolley
361ab507d2
Cast class to array
...
Closes #11294
2016-06-30 08:47:06 +01:00
Claudio Sanches
bc9b2f6f9a
Merge branch 'master' of github.com:woothemes/woocommerce
2016-06-30 04:44:22 -03:00
Claudio Sanches
161b2d807c
Removed duplicated Saint Martin
2016-06-30 04:40:33 -03:00
Mike Jolley
02f8e12ed5
Remove h1 and legacy icon, switch to nav element
...
Closes #11296
2016-06-30 08:39:04 +01:00
rspublishing
63c0445957
Replacing link
2016-06-30 09:25:39 +02:00
rspublishing
1a0f5ae723
Updates the includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php file
2016-06-30 09:16:52 +02:00
Claudio Sanches
411585e8c8
Updated the default sorting of product_category shortcode, closes #11295
2016-06-30 04:16:22 -03:00
Claudio Sanches
f8377fd55b
Removed dead variable
2016-06-30 02:21:11 -03:00
Claudio Sanches
148228b505
Added missing Sint Maarten country and fixes the continents
...
Fixed missing Bonaire, Saint Eustatius and Saba (BQ) from the continents
list.
Fixed Curaçao, thats belongs to the North America continent.
Closes #11217
2016-06-29 18:26:06 -03:00
Rodrigo Primo
3c485fc2a1
Use WC_Cache_Helper::get_cache_prefix() to generate the cache key for wc_orders_count()
2016-06-29 16:19:47 -03:00
Rodrigo Primo
1a394fbe02
Improve wc_orders_count() performance by running a query to count only posts of the given status
...
The function wc_orders_count() is called on every admin page. WooCommerce core uses it to count only orders with the status 'processing' and typically a site has only a few of those orders. But since wc_orders_count() calls internally wp_post_count() this means that MySQL will have to count the number of orders of all status. Thus, in a site with a significant number of orders, this query can be slow.
This commit changes wc_orders_count() function to query directly the database to get the number of orders for a given status instead of using wp_post_count(). On a WooCommerce installation I manage, the old query takes about 2 seconds to run and the new query takes 0.002 seconds.
2016-06-29 15:04:59 -03:00
Mike Jolley
a9918043b9
Only show available on backorder if notifying customer
2016-06-29 15:51:20 +01:00
Mike Jolley
92c670acde
Fix - woocommerce_local_pickup_methods comparison by stripping instance IDs before the check.
...
@claudiosmweb Seems that local_pickup in zones did not get base tax
applied due to method id mismatch.
2016-06-29 15:23:42 +01:00
Mike Jolley
697b24e262
Merge pull request #11285 from frozzare/pr/woocommerce_quantity_input
...
Set min and max value to empty string if not set
2016-06-29 14:03:32 +01:00
Fredrik Forsmo
755ede10a3
Set min and max value to empty string if not set
2016-06-29 13:13:11 +02:00
Mike Jolley
9a77620cc4
Split download permission query from order retrieval to reduce overhead.
...
Closes #11274 @claudiosmweb
2016-06-29 12:06:03 +01:00
Mike Jolley
01a2acabdc
Should be empty check
...
#11283
2016-06-29 10:44:27 +01:00
Mike Jolley
0780d94d0b
Merge pull request #11283 from frozzare/patch-1
...
Add isset to `home` args to fix PHP Notice
2016-06-29 10:43:43 +01:00
Mike Jolley
ccd6389ecc
Merge pull request #11244 from woothemes/password-reset-flow
...
Password resets with cookies
2016-06-29 10:43:24 +01:00
Fredrik Forsmo
fd7b910afa
Add isset to `home` args to fix PHP Notice
...
Fixes #11282
2016-06-29 09:27:28 +02:00
Claudio Sanches
faba693d7b
Merge pull request #11280 from shoheitanaka/patch-6
...
add JP (Japan) postcode format
2016-06-28 19:08:52 -03:00
Shohei Tanaka
2ce84d0854
add JP (Japan) postcode format
...
match the postcode validation for Japan
2016-06-29 06:54:59 +09:00
Claudio Sanches
96626ac6fb
Merge pull request #11275 from helgatheviking/master
...
fix link to Shipping zones from deprecated free shipping method
2016-06-28 15:28:12 -03:00
Claudio Sanches
7701d4ce99
Merge pull request #11277 from coderkevin/fix/checkout-section-urls
...
Fix checkout gateway section urls (#11273 )
2016-06-28 15:18:32 -03:00
Kevin Killingsworth
89fda4204e
Fix checkout gateway section urls ( #11273 )
...
Fixes issue #11273
Changes from class name to gateway id for section name.
2016-06-28 12:48:03 -05:00
Claudio Sanches
ff50570b5c
[REST API] Check if tax subtotal exists before to prevent errors, closes #11270
2016-06-28 14:44:01 -03:00
Claudio Sanches
cf622677ad
Minify
2016-06-28 14:39:08 -03:00
Claudio Sanches
8c4d406866
Fixed coding standards
2016-06-28 14:38:19 -03:00
Claudio Sanches
cd1d68323c
Merge pull request #11271 from woothemes/fix-11262
...
Hide empty panels
2016-06-28 14:31:30 -03:00
Claudio Sanches
37a666edc7
2.6.2
2016-06-28 13:54:12 -03:00
Kathy Darling
f5cb48c76f
fix link to Shipping zones from deprecated free shipping method
2016-06-28 10:31:26 -05:00
Mike Jolley
007bf780d1
Merge pull request #11272 from lordgiotto/master
...
Added $notice as second argument of "woocommerce_demo_store" filter
2016-06-28 16:26:19 +01:00
Mike Jolley
4cda0ead66
POT file
2016-06-28 15:42:58 +01:00
Mike Jolley
af29523e47
Readme
2016-06-28 15:42:40 +01:00
Lorenzo
449b3a949d
Added $notice as second argument of "woocommerce_demo_store" filter
2016-06-28 16:26:26 +02:00
Mike Jolley
adf0c2152e
Fix - Don't sync ratings right away; meta won't exist in some cases.
2016-06-28 15:24:37 +01:00
Mike Jolley
0a8e219c9d
Hide empty panels
2016-06-28 11:56:45 +01:00
Claudio Sanches
53552f8028
Require create webhook secret in the REST API
2016-06-27 21:55:54 -03:00
Claudio Sanches
c7579c5f0b
[REST API] Add "number" property to orders endpoint, closes #11250
2016-06-27 21:53:08 -03:00
Claudio Sanches
cde356b259
Merge pull request #11261 from woothemes/fix-11245
...
Product coupon validation logic
2016-06-27 21:11:33 -03:00
Mike Jolley
2bbb1453fb
External product SKU
2016-06-27 16:04:49 +01:00
Mike Jolley
48bba78cae
Only apply new logic to product coupons
2016-06-27 15:58:08 +01:00
Mike Jolley
01b48e699a
Fix exclude_product_ids prop
2016-06-27 15:02:58 +01:00
Mike Jolley
0ed58784fd
Fix - add validate_excluded_items function to validate product coupons before applying them
2016-06-27 15:02:32 +01:00
Mike Jolley
8a46831eb1
Made coupon valid check more readable
2016-06-27 14:59:50 +01:00
Mike Jolley
931660038a
Update debug mode wording
...
Closes #11258
2016-06-27 12:28:46 +01:00