Commit Graph

7787 Commits

Author SHA1 Message Date
Krzysztof Grabania 0276a3574b Removed unnecesary foreach loop 2016-07-22 14:55:51 +02:00
Mike Jolley c8efb71dc5 Merge branch 'pr/11487' 2016-07-22 12:59:58 +01:00
Mike Jolley d2754a0081 Simpler logic 2016-07-22 12:59:51 +01:00
Mike Jolley 66c8d6cdcf Merge pull request #11496 from franticpsyx/order_item_class_args
[2.6] Add $order arg to order_item_class filters
2016-07-22 13:58:58 +02:00
Mike Jolley 00d5eedda2 Merge pull request #11483 from jobthomas/hotfix-geolite-notice
Hotfix geolite notice
2016-07-22 13:57:13 +02:00
Mike Jolley c9eef82550 Merge branch 'pr/11497'
# Conflicts:
#	includes/wc-core-functions.php
2016-07-22 12:55:34 +01:00
Mike Jolley 203349cbb0 [2.6] Merge pull request #11512 from jobthomas/copy-product-display
Copy product display
2016-07-22 13:30:11 +02:00
James Koster 02e08e071e Use number inputs for hour/minute fields on edit order screen. closes #11494 2016-07-22 12:19:18 +01:00
Job 49d3200c52 Adding order of dimensions
Based on customer input, I added what dimension comes first in the
product display sizes to the tip.
2016-07-22 12:51:05 +02:00
Mike Jolley 4f5896d908 [2.6] Only allow image MIME type upload via APIs 2016-07-21 16:20:13 +01:00
Mike Jolley fb18af837c Docblock
72a5f9a9d1
2016-07-21 15:30:07 +01:00
Mike Jolley 72a5f9a9d1 Maintain method_order sorting for zones in list
Closes #11486
2016-07-21 14:30:05 +01:00
Mike Jolley 08941d41b2 Check is_singular when looking for shortcode content
Closes #11489
2016-07-21 13:17:35 +01:00
Manos Psychogyiopoulos 17c6108832 ensure WC_ROUNDING_PRECISION is defined and use it as a low precision boundary in wc_get_rounding_precision() 2016-07-21 12:14:12 +03:00
Manos Psychogyiopoulos 0173447cf9 add $order arg to woocommerce_admin_order_item_class and woocommerce_admin_html_order_item_class filters 2016-07-21 11:50:45 +03:00
Claudio Sanches 56f4efc8e3 Merge pull request #11469 from corsonr/status_report_db_prefix
Add database prefix to status report
2016-07-20 17:09:50 -03:00
terence1990 ca44110f3d Fix: ship_to_different_address 2016-07-20 14:26:14 +01:00
Mike Jolley bc80b75540 Merge pull request #11324 from woothemes/out-of-stock-threshold-11322
Out of stock threshold 11322
2016-07-20 14:44:41 +02:00
corsonr b825b0b943 removed un-necessary esc_html 2016-07-20 14:43:41 +02:00
Mike Jolley d17b4de6d5 woocommerce_admin_order_item_bulk_actions
Closes #11099
2016-07-20 13:37:17 +01:00
Job 614cd520ba Updated error message
To not cause extra problems for the maxmind team, added better
explanation on which file to download.
2016-07-20 11:51:32 +02:00
Mike Jolley fce7771d82 Fix - Shipping method title display in COD settings. 2016-07-20 10:49:27 +01:00
Claudio Sanches 2b6cbc7629 Sanitize image metadata 2016-07-19 14:24:11 -03:00
Claudio Sanches 4ed8d46867 [REST API] Make easy to update order line items #11450 2016-07-19 14:11:44 -03:00
Mike Jolley f69c36729d Merge pull request #11475 from helgatheviking/filter_cart_id
add woocommerce_cart_id filter
2016-07-19 17:47:23 +02:00
Mike Jolley 664597b5c8 Tweak zone text
Closes #11472
2016-07-19 16:45:10 +01:00
Mike Jolley e5634c6946 Do not sanitize passwords
Closes #11473
@claudiosmweb
2016-07-19 16:43:15 +01:00
Kathy Darling cfafff192d add woocommerce_cart_id filter 2016-07-19 10:20:08 -05:00
Mike Jolley bf93f747c2 Handle range conversion during update
Closes #11403
2016-07-19 16:16:32 +01:00
Claudio Sanches 35c5a29cc2 Always remove commas while processing flat rate costs, closes #11346 2016-07-19 11:52:29 -03:00
Mike Jolley 84e883657c Merge pull request #11412 from jlad26/master
Fix layered nav links on product attribute archives
2016-07-19 15:20:47 +02:00
Mike Jolley f9c6764ecd Merge branch 'pr/11431' 2016-07-19 14:10:02 +01:00
Mike Jolley d79f21a501 Better search handling 2016-07-19 14:09:56 +01:00
Mike Jolley d326930d89 Helper to generate search sql 2016-07-19 14:09:31 +01:00
corsonr c2eb7f50ca display error if prefix longer than 20 2016-07-19 14:47:36 +02:00
Claudio Sanches aa367efdf0 Fixed a typo 2016-07-19 09:37:42 -03:00
Claudio Sanches 8d5f0d5c11 Merge pull request #11471 from woothemes/fix-free-shipping
Fix free shipping
2016-07-19 09:36:12 -03:00
Claudio Sanches 70bf9bfcd6 Fixed show/hide free amount in modals 2016-07-19 09:33:56 -03:00
Mike Jolley aab6f86652 Merge pull request #11465 from stratosvetsos/fix-grouped-addtocart-message
closes #11448
2016-07-19 14:17:11 +02:00
corsonr eab45222a4 fixed parse error 2016-07-19 14:13:31 +02:00
corsonr c385e57fbe added esc_html() and conditional statement 2016-07-19 14:11:09 +02:00
Claudio Sanches 19713f8bc7 Improved free shipping method and fixed missing filters 2016-07-19 09:05:25 -03:00
Mike Jolley 0a4f2725de Merge pull request #11449 from rodrigoprimo/improve-wp-count-comments
Cache the result of WC_Comments::wp_count_comments() in a transient
2016-07-19 14:00:34 +02:00
Mike Jolley 183fb46c4d Merge pull request #11447 from jamesckemp/patch-3
Add shortcode name param to shortcode_atts functions
2016-07-19 13:42:48 +02:00
Claudio Sanches a8becb24ba Check if product exists to avoid fatal errors on emails order schema markup, closes #11459 2016-07-19 08:21:06 -03:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
corsonr 06e8c7e6de Add database prefix to status report 2016-07-19 09:12:06 +02:00
Stratos Vetsos f4f3b5e364 closes #11448 2016-07-18 20:52:26 +03:00
Rodrigo Primo 7318235f58 Cache the result of WC_Comments::wp_count_comments() in a transient
The query to count comments inside WC_Comments::wp_count_comments() is super slow when the site has a significant number of comments (for example, this query takes about 5s to run on WooCommerce.com with 70k comments) and this is a problem specially considering that this method is called on every admin page.

This commit changes WC_Comments::wp_count_comments() to store the comments count in a transient. With this change, the method will run the query to count comments only if the number of comments or their statuses had changed. Before this commit, WC_Comments::wp_count_comments() would run the database query every time a admin page was requested.
2016-07-15 15:01:21 +02:00
James Kemp f39e338ca2 Add shortcode name param to shortcode_atts functions
Adding this allows plugin/theme authors to easily add additional attributes to the shortcodes using the "shortcode_atts_$shortcode" filter. Please consider!
2016-07-15 08:49:44 +01:00