Commit Graph

30006 Commits

Author SHA1 Message Date
Mike Jolley 8fc7e2be99 prefix tax cache key 2019-01-30 16:11:37 +00:00
Mike Jolley 57ccde6643 get_product_type cache 2019-01-30 16:11:29 +00:00
Mike Jolley cb1c579262 Cache tax class slugs 2019-01-30 16:11:19 +00:00
Mike Jolley 874f4830a6 cache_value cleanup 2019-01-30 16:11:11 +00:00
Mike Jolley 4622af890a wc_attribute_taxonomy_slug cache 2019-01-30 16:11:04 +00:00
Mike Jolley a5bc236c66 get_current_page_url cache set 2019-01-30 16:10:56 +00:00
Mike Jolley fa58f3bb9f Lax the kses here - link and name is already escaped. 2019-01-30 16:10:48 +00:00
Mike Jolley 536d71a5f6 cache get_current_page_url 2019-01-30 16:09:16 +00:00
Mike Jolley d167cb0a95 Add caching for template names to avoid multiple lookups 2019-01-30 16:09:08 +00:00
Mike Jolley 6fa7995f3a Only check file exists if filtered 2019-01-30 16:09:01 +00:00
Mike Jolley 35819ccb6e Small refactor for clarity 2019-01-30 16:08:53 +00:00
Mike Jolley 4eb0080605 apply_filters_deprecated to avoid conflict with wp profile 2019-01-30 16:06:51 +00:00
Mike Jolley 0dd7cd2b8b Improved post_class generation to avoid loading more product objects 2019-01-30 16:02:22 +00:00
Mike Jolley c0b9491b1e Pass product objects to wc_get_product_class to avoid reloading the product object 2019-01-30 16:02:09 +00:00
Mike Jolley bd076d42da Refactor wc_get_product_class to avoid $post object 2019-01-30 16:02:00 +00:00
Mike Jolley 59e0867afe Add missing post_password prop 2019-01-30 16:01:54 +00:00
Mike Jolley 1ba0194685 Remove external lookup of ips on localhost 2019-01-30 15:59:02 +00:00
Toby Robles 59d4a81f1a
Peruvian currency updated 2019-01-30 10:43:52 -05:00
Gerhard a2e4ca70b6 PHPCS fixes 2019-01-30 11:33:51 +02:00
Gerhard 429f515704 Introduce woocommerce_admin_report_customers_user_query_args and woocommerce_admin_report_customer_list_user_query_args filters to altering the queries running when retrieving users for reports. 2019-01-30 11:19:34 +02:00
Gerhard efd72f3222 Update Gruntfile to make use of node-sass when calling grunt-sass.
Introduce new minimum node and npm versions
Make es6 default language for eslintrc
Fix a couple of es6 linting errors due to too long lines.
2019-01-30 10:12:08 +02:00
Toby Robles 7fa1bd78c9
Updating Peruvian currency
Since 2015, the government ordered that the "Nuevo Sol (S /.)" be renamed simply "Sol (S/)", also suppressing the use of the point (S/.) in the monetary sign (S/)
2019-01-29 20:01:04 -05:00
Job 185041da87
Removed title case
As requested here by https://github.com/woocommerce/woocommerce/pull/22584#pullrequestreview-197707971
2019-01-29 20:40:59 +01:00
Ron Rennick c45dc09687 only set shipping cost required when method is enabled 2019-01-29 14:24:08 -04:00
Boost d9c971ee20 Update class-wc-structured-data.php. Line 214, changed wpautop to wp_filter_nohtml_kses 2019-01-29 13:27:05 +00:00
Gerhard 69baf175c1 After some testing using area-hidden seems to deliver the best results for not producing the hissing sound on reviews. 2019-01-29 13:48:47 +02:00
Gerhard 94f64f3851 PHPCS fixes 2019-01-29 13:36:16 +02:00
Gerhard e74f0acc19 Add a screen reader label to the star rating div to avoid screen readers trying to read the text of the star font. 2019-01-29 13:34:04 +02:00
Gerhard 25e562400e Put reload checkout in variable before unsetting it and then calling it again after it was unset. 2019-01-29 13:05:02 +02:00
Gerhard b8dc401f86 Bump template version 2019-01-29 12:19:10 +02:00
Gerhard 47d1a02ff6 PHPCS Fixes. 2019-01-29 12:18:55 +02:00
Gerhard 5317be3206 Do not escape output of wc_get_rating_html. 2019-01-29 12:18:05 +02:00
Renovate Bot 9361cc7c0c
Update dependency autoprefixer to v9.4.7 2019-01-28 20:25:50 +00:00
Peter Fabian ad06f62669 Added more types of input to styling in admin/variations. 2019-01-28 19:32:21 +01:00
Mike Jolley 7c0273fa12 Prime caches when reading variations 2019-01-28 15:00:48 +00:00
Renovate Bot b73d5de79f
Update dependency lint-staged to v8.1.1 2019-01-28 14:58:30 +00:00
Job 2174937f4f
Translatable 2019-01-28 12:28:48 +01:00
Job b0aa198d4c
Updated system status report
Two changes:

* Followed the WP core order of mentioning wordpress URL and site URL
* Followed the WP core naming of these two URLs - confusingly the home URL in core is described be "Site Address ()"

![http://cld.wthms.co/xo5xtL](http://cld.wthms.co/xo5xtL+)
Link to image here: http://cld.wthms.co/xo5xtL.
2019-01-28 12:24:57 +01:00
Job 489c753a97
Merge pull request #1 from woocommerce/master
update
2019-01-28 12:20:57 +01:00
Ron Rennick 28710a522e phpcs sniff fixes for orders.php 2019-01-27 20:57:58 -04:00
Ron Rennick d888f456f8 remove line item subtotal adjustment from api coupon unit test 2019-01-27 20:49:02 -04:00
Ron Rennick a93418b826 phpcs sniff fixes for class-wc-report-sales-by-product.php 2019-01-27 19:27:30 -04:00
Ron Rennick f42c42066b include refunded orders in top sellers, earners in sales by product report 2019-01-27 19:24:08 -04:00
Ron Rennick 3f24ad8d4c phpcs sniff fixes for abstract-wc-order.php 2019-01-27 11:38:08 -04:00
Galen Wright-Watson baeccdc547 Fix: #22577-"bad flag in substitute command" if password has a '/' character. Cause: unescaped special characters (forward slash) in variable get interpreted as part of sed script. Soln: escape forward slashes when interpolating into sed script. 2019-01-26 23:53:02 -08:00
Ron Rennick d32f189f27 recalculate coupons after adding to order 2019-01-26 23:57:32 -04:00
Galen Wright-Watson 65bb805cbb Fix: #22572-can't access settings ("The link you followed has expired"). Cause: if anything adds to `$_POST`, this triggers WooCommerce to try to save settings; if there's no nonce, authorization fails, resulting in the message. Soln: check for specific element ('save') in `$_POST` to determine whether to save elements, rather than testing that `$_POST` is non-empty. 2019-01-25 18:08:00 -08:00
Ian Jenkins d7e32e1c77 Remove possibe superfluous wp_attachment_is_image() filter.
The reason to remove this is that this function uses get_post() under
the hood which always assumes the attachment is on the same site, where
as if you're using a plugin such as
https://github.com/humanmade/network-media-library it might not be.

I'm not sure if there's any adverse affects of not doing this filtering,
from my testing, it still seems to work in the same way.
2019-01-25 15:11:58 +00:00
Ron Rennick 60a6895eee php sniff fixes for class-wc-rest-product-categories-controller.php 2019-01-25 09:53:37 -04:00
claudiulodro 78e5189334 Better @id generation for product structured data 2019-01-24 11:49:44 -08:00