JeroenSormani
c25cc886ae
Add tiptip dependency to wc-admin-meta-boxes
2015-08-20 13:46:52 +02:00
Mike Jolley
24c7f56b03
move attribute code above selector
2015-08-20 10:52:59 +01:00
Mike Jolley
9ed36d4b01
In add_to_cart_action, check is_purchasable rather than post status.
2015-08-20 10:39:38 +01:00
Lucas Stark
00be9b1324
Update class-wc-admin-settings.php
...
Reset the $value to array when processing image_width. Strange bug if the value is a string and the array is not explicitly created.
2015-08-19 13:39:38 -04:00
Claudio Sanches
186257fcd1
Removed the forced redirect
2015-08-19 12:43:13 -03:00
Claudio Sanches
aa8e469a9d
Download translations in setup wizard
2015-08-19 12:36:59 -03:00
Mike Jolley
ac90660f7d
Add expand/close links for attributes and match variation UI
...
Closes #8875
2015-08-19 14:00:26 +01:00
Mike Jolley
ecc50f78ab
Don't clean keys - avoids destroying special chars
2015-08-19 11:33:42 +01:00
Mike Jolley
57bb0ebe25
Record manual order status change
2015-08-18 16:33:38 +01:00
Mike Jolley
625105b1c7
Merge pull request #8873 from SiR-DanieL/transient-limit-filter
...
Added filter woocommerce_delete_version_transients_limit
2015-08-18 14:44:41 +01:00
Mike Jolley
c6d6a6b439
Merge pull request #8866 from woothemes/fix/pinking-shears
...
Pinking Shears.
2015-08-18 14:36:52 +01:00
Mike Jolley
dc37e49c02
Suppress set_time_limit errors to prevent issues in some environments
...
“Warning: Cannot set max_execution_time above master value of 30 (tried
to set unlimited) in
/var/www/web1043/html/wordpress/wp-content/plugins/woocommerce/includes/
class-wc-download-handler.php on line 337</p>”
2015-08-18 13:16:25 +01:00
Nicola Mustone
7f879b416a
added filter woocommerce_delete_version_transients_limit
2015-08-18 11:47:19 +02:00
Claudio Sanches
c00239fbef
Fixed visual endpoint callback content-type #8021
2015-08-17 19:19:08 -03:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
Claudio Sanches
8da7369088
Just avoid deprecated notices for #8848
2015-08-17 14:04:12 -03:00
Claudio Sanches
a12552dbf1
[API] Removed $HTTP_RAW_POST_DATA in favor of php://input, closes #8848
2015-08-17 12:51:19 -03:00
Mike Jolley
a5a7c71aa7
Keep new variation in sync so actions can modify data Closes #8858
2015-08-17 15:11:34 +01:00
Mike Jolley
9330176865
Flush product cache so prices are regenerated
...
Fixes #8851
2015-08-17 14:19:58 +01:00
Mike Jolley
1999dbe92d
Improve display_item_downloads numbering and use same function in emails.
2015-08-17 12:17:56 +01:00
Mike Jolley
ad691fe916
save_account_details should check display name of current user.
...
Fixes #8856
2015-08-17 12:02:16 +01:00
Mike Jolley
329c2c9c9b
Merge pull request #8838 from StuartOB/master
...
Missing object attributes
2015-08-17 11:03:44 +01:00
Claudio Sanches
a9a6009b66
Check if order is valid in checkout shortcode, closes #8829
2015-08-15 17:50:42 -03:00
stuartobrien
237acd7e90
consistent code formatting
2015-08-15 01:28:48 +02:00
stuartobrien
3ce5374cd9
fixed - missing attribute $password_generated used in the object but not declared
2015-08-15 01:16:02 +02:00
stuartobrien
6a8742d4d6
change type to boolean
2015-08-15 01:03:18 +02:00
stuartobrien
5a616d86c3
fixed - missing attributes refund and partial_refund are used in the object but are not declared
2015-08-15 00:57:12 +02:00
Claudio Sanches
13c34f6ba2
Fixed Allowed Zip description for Local Delivery, closes #8831
2015-08-14 15:28:34 -03:00
Claudio Sanches
1d0d48b1ad
Fix attribute text based in API, closes #8823
2015-08-14 15:22:57 -03:00
Claudio Sanches
934808fc37
Created new wc_sanitize_term_text_based() for properly sanitize term text based before save, closes #8823
2015-08-14 15:22:16 -03:00
Claudio Sanches
dc666f6b27
Added missing $menu_order on WC_Ajax::add_variation()
2015-08-14 14:40:46 -03:00
Lee Hopkins
9632077c7e
Wrap product name in correct double quotes in wc_format_list_of_items()
2015-08-14 09:57:35 -07:00
Mike Jolley
a0be65596f
COD: remove shipping check if the cart is 100% virtual.
...
@claudiosmweb
2015-08-13 23:54:16 +01:00
Mike Jolley
dc1798f942
woocommerce_variable_children_args hook.
2015-08-13 23:35:41 +01:00
Diego Zanella
5b29d23daf
Added filter for Variable Products, as suggested in #8820
...
* The new filter allows to alter the query used to retrieve children of a variable product.
2015-08-13 22:42:16 +01:00
Mike Jolley
92043a19f2
Free shipping should not be on by default
...
Closes #8819
2015-08-13 22:02:44 +01:00
Claudio Sanches
893d0e40da
Include attribute archives support in the breadcrumbs
2015-08-13 16:02:57 -03:00
Mike Jolley
63fe4a0c05
Correct docbloc Closes #8814
2015-08-13 18:05:55 +01:00
Mike Jolley
d9f9da955d
empty checking
2015-08-13 16:58:23 +01:00
Mike Jolley
827ff2ae85
Merge pull request #8813 from SiR-DanieL/deprecated-fix
...
Replacing deprecated functions
2015-08-13 16:56:32 +01:00
Mike Jolley
56b6c0ab9c
Link to full image
...
Closes #8809
2015-08-13 16:55:32 +01:00
Nicola Mustone
51c4599b59
replacing deprecated functions
2015-08-13 17:49:25 +02:00
Mike Jolley
630c14124c
Avoid firing woocommerce_order_fully_refunded twice
2015-08-13 16:35:52 +01:00
Mike Jolley
a52619c344
Ajax variation handling when 'any' attribute is set.
2015-08-13 13:57:26 +01:00
Mike Jolley
fb64e6e66e
Use wp_unslash and only decode when getting attributes, not saving
2015-08-13 13:03:51 +01:00
Mike Jolley
7552704e75
double encode attributes
2015-08-13 12:16:08 +01:00
Mike Jolley
a545a3aa02
wp_json_encode is 4.1 +
2015-08-13 12:07:12 +01:00
Mike Jolley
4908131b86
stripslashes_deep attributes
2015-08-13 12:07:05 +01:00
Mike Jolley
3a4653ba3b
Run html_entity_decode over text attributes to fix problems with quote characters.
2015-08-13 12:06:52 +01:00
Mike Jolley
8f759c8af1
Order variations by menu_order by fallback to ID.
2015-08-13 10:40:50 +01:00
Mike Jolley
d3e2217227
Allow errors with debug on
...
Closes #8805
2015-08-13 10:27:22 +01:00
Claudio Sanches
275849b5da
[2.4] Fixe order by user and sorting by total, closes #8803
2015-08-13 00:33:56 -03:00
Claudio Sanches
6d79f7f02b
Fixed default wc_lostpassword_url() args, closes #8800
2015-08-12 17:43:04 -03:00
Mike Jolley
f8b539eb5e
Improved refund email events and woocommerce_order_fully_refunded hook.
...
Closes #8793
2015-08-12 19:01:05 +01:00
Mike Jolley
cbb89fa4b9
wc_get_product_variation_attributes should only get parent attributes which are for variations.
...
Closes #8796
2015-08-12 18:02:13 +01:00
Mike Jolley
817f8476ac
Refund subjects when order contains downloadable product.
2015-08-12 17:50:57 +01:00
Mike Jolley
19e8cc4634
display_errors > error_reporting
2015-08-12 17:45:49 +01:00
Mike Jolley
7a58c5417c
Only process downloads if valid order is found
...
Closes #8798
2015-08-12 17:21:07 +01:00
Mike Jolley
457283bc3c
Ajax variations: stripslashes to fix attributes with quotes.
2015-08-12 17:08:21 +01:00
Mike Jolley
6a3f4ee969
Disable error_reporting during ajax requests to prevent malformed JSON.
2015-08-12 11:51:05 +01:00
Mike Jolley
2f79ab5e3a
When merging shipping taxes with a shipping rate taxes, ensure shipping rate taxes is not malformed.
...
Closes #8790
2015-08-12 11:28:24 +01:00
Mike Jolley
0da69f2bef
Query within wc_customer_bought_product().
2015-08-12 10:44:44 +01:00
Mike Jolley
f6f2d7f9df
Ensure array is returned from wc_get_attribute_taxonomies
2015-08-11 17:10:34 +01:00
Mike Jolley
3bd52a78a5
Use wc_get_attribute_taxonomies instead of global
2015-08-11 17:10:34 +01:00
Claudio Sanches
23f6544ffc
Stop jetpack markdown of add slashs in HTML, closes #8782
2015-08-11 12:06:59 -03:00
Mike Jolley
4dd19c3839
Stripslashes on text attributes
...
Fixes #8778 Closes #8771
2015-08-11 14:55:35 +01:00
Mike Jolley
7d27707043
Tax inclusive prices rounding issue
...
Remove rounding on cart_contents_total so total is calculated correctly.
Prevents issues with half rounded taxes and half rounded items.
Fixes #8776
2015-08-11 14:17:52 +01:00
Mike Jolley
fafb6d5dca
Tweak cart fix to avoid munging %%endpoint%%
2015-08-11 14:04:42 +01:00
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