Commit Graph

5243 Commits

Author SHA1 Message Date
Mike Jolley 3eedab457d return; don't break 2015-08-11 13:47:12 +01:00
Mike Jolley 61f7dd428e use shop_single instead of full image size for variations.
Closes #8764
2015-08-11 12:54:26 +01:00
Ninos Ego 98a1ae4b25 Add class arg to dropdown function 2015-08-11 13:17:52 +02:00
Mike Jolley 5b786261e1 Hide get_formatted_legacy notices when doing ajax. 2015-08-11 12:09:54 +01:00
Mike Jolley faa8ab02e0 * Fix - ordering_args in product_category shortcode. 2015-08-11 12:04:30 +01:00
Mike Jolley 8a0f4fcc67 Tweak update shipping logic 2015-08-11 11:53:51 +01:00
Mike Jolley 1078564fca Prevent double add to cart due to ajax endpoints. 2015-08-11 11:53:36 +01:00
Mike Jolley 1cae64f448 eval maths - output errors only if WP_DEBUG is on 2015-08-11 11:23:53 +01:00
Mike Jolley 15e3c545df Made checkout make use of new ajax endpoints.
Fixes #8763
2015-08-11 11:18:50 +01:00
Mike Jolley 42e99286c7 If all variations are out of stock, maintain pricing. 2015-08-11 10:33:47 +01:00
Claudio Sanches b1f0da9d76 Version 2.4.1 2015-08-10 18:44:32 -03:00
Claudio Sanches a572c40405 Added the update script for 2.4.1 2015-08-10 18:27:07 -03:00
Claudio Sanches f7c5d3d5f9 Fixed a typo 2015-08-10 18:26:06 -03:00
Claudio Sanches 7908d6e55a Improved 2.4.1 update script 2015-08-10 18:23:28 -03:00
Claudio Sanches 2ad4592324 WooCommerce 2.4.1 update script 2015-08-10 18:18:33 -03:00
Mike Jolley c1cd3f097c Fix notices when calling get_shipping_classes(). 2015-08-10 21:52:21 +01:00
Mike Jolley 1f5bca4daa Ensure emails are disabled during this update routine
Closes #8758
2015-08-10 21:37:49 +01:00
Mike Jolley 77b2316d80 Merge pull request #8754 from JeroenSormani/is_on_sale
FIx is_on_sale bug on variable products
2015-08-10 15:43:35 +01:00
JeroenSormani 95609928ba FIx is_on_sale bug on variable products 2015-08-10 16:36:40 +02:00
Mike Jolley 7363c85a2c Get filtered variation prices #8753 2015-08-10 15:34:10 +01:00
Mike Jolley 318f399081 Small tidy for scruitinizer 2015-08-10 14:56:02 +01:00
Mike Jolley d3f0fd1bb3 Correct docblocks 2015-08-10 14:42:10 +01:00
Mike Jolley 41e8cf74fb Unused vars 2015-08-10 14:40:14 +01:00
Mike Jolley f687a5a059 When setting up flat and international shipping during wizard, set availability based on base country 2015-08-10 11:03:36 +01:00
Mike Jolley 257010695e Readme, versions, develop blog links 2015-08-10 10:39:08 +01:00
Brent Shepherd a826330ad0 Reinstate default value for $items
That was (accidentally?) removed with SHA: 877e39064

Fixes "PHP Notice:  Undefined variable: items" when attempting to get
line items of a type that does not exist on the order, like coupons.
2015-08-07 12:12:08 -07:00
Claudio Sanches 8bc5e9e284 Merge pull request #8747 from thenbrent/add_api_permissions_filter
Add permissions in scope filter
2015-08-07 15:25:00 -03:00
Brent Shepherd 1681b0f9d5 Add permissions in scope filter
To allow extensions to display the permissions API keys will provide
for their objects, in addition to the permissions for core WC objects.
2015-08-07 11:19:21 -07:00
Claudio Sanches e9acb4f7cf Fixed api keys migration for 2.4, closes #8746 2015-08-07 15:15:34 -03:00
Doug Smith 46536b6374 Minor grammar fixes to the update welcome message 2015-08-07 11:21:49 -05:00
Claudio Sanches 0a657fdd96 Added missing dot 2015-08-07 10:37:45 -03:00
Claudio Sanches 38aa17b67b Fixed hardcoded string 2015-08-07 10:27:40 -03:00
Claudio Sanches c0179c8bb2 Fixed a typo/extra end of line 2015-08-07 10:18:30 -03:00
Mike Jolley 877e390646 Remove $type from prepare 2015-08-07 14:06:19 +01:00
Mike Jolley d6ceec0817 Flip esc_like and esc_sql, add % 2015-08-07 13:54:50 +01:00
Mike Jolley 800ae12552 Merge pull request #8742 from thenbrent/fix_truncated_key
Fix truncated_key value inserted on visual authentication request
2015-08-07 11:45:40 +01:00
Mike Jolley 5c9ac6a893 Avoid double escape when passing in arrays to sql queries. Use esc_sql 2015-08-07 11:37:19 +01:00
Mike Jolley c5cba283ed Remove numbered arguments from queries 2015-08-07 11:37:19 +01:00
Mike Jolley fcbdd35223 Clean and escape API search 2015-08-07 11:37:19 +01:00
Mike Jolley 4c8ef3ff33 Use esc_sql on item type instead of esc_attr 2015-08-07 11:37:19 +01:00
Brent Shepherd 19a91e3afc Fix truncated_key value inserted on visual auth
When inserting a new set of API keys via the visual API endpoint, only 5 format
values were specified in the 3rd param passed to the $wpdb->insert(); however,
6 values were specified in the 2nd param. This meant that the truncted_key value
was being formatted as an integer only the first numerical characters of the last
7 character of the consumer key were being stored. For example, given a consumer
key value of ck_e91f2aeae6c3dea3045293a3dbdf55c317ad762c the truncated_key value
should be 7ad762c but instead, it was being stored at 7.
2015-08-06 17:40:17 -07:00
Mike Jolley ddd97b64c3 Remove white space to fix appearance of new rows
Fixes #8730
2015-08-06 11:38:46 +01:00
Mike Jolley b91ccd32b9 Tweak wildcard tax handling to deal with 9 digit zip codes
Fixes #8736
2015-08-06 11:36:02 +01:00
Shiva Poudel 0d1c2dc4dc Fix - calls for esc_* 2015-08-06 02:04:21 +05:45
George Stephanis 9269fd7432 Retooling how this is escaped.
Sanitize early, escape late.  Rather than double escaping, I figured
it’d be better to sprintf it in, and then escape that string — closer
to the output.

Also, I’m not sure why `urlencode` was used to escape a name?
2015-08-05 15:18:47 -04:00
George Stephanis c938fa24da More missing esc_attr calls, :( 2015-08-05 15:17:52 -04:00
Claudio Sanches b091f12393 Fixed some js conding standards 2015-08-05 15:57:15 -03:00
George Stephanis 95e6b84fbb Make sure we esc_attr translation results
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis 29d9a7da8c Found two missing `esc_js()` calls as well. 2015-08-05 14:10:10 -04:00
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00