Commit Graph

7239 Commits

Author SHA1 Message Date
Luke Carbis 047de95c17 Fix notice that occurs from external function call
Resolves https://github.com/woothemes/woocommerce/issues/5506.

This checks to see if the `integrations` array has any values before getting it's current value.
2014-05-22 11:18:10 +01:00
Luke Carbis 786d7ed40b Add action hooks when saving tax rates
Resolves https://github.com/woothemes/woocommerce/issues/5505.

Add three actions when tax rates are saved:
* woocommerce_tax_rate_added
* woocommerce_tax_rate_updated
* woocommerce_tax_rate_deleted
2014-05-22 11:18:06 +01:00
splashingpixels 6d312f4769 menu order terms were coming back empty fixes #5490 2014-05-22 11:18:02 +01:00
Cammy-the-block 1c683f8e5f Fixed my account setting values to wrong user submitted strings. 2014-05-22 11:17:58 +01:00
claudiosmweb 483ddd1a40 fixed the admin welcome screen css 2014-05-22 11:17:49 +01:00
splashingpixels 8caa60e3c2 removed unecessary localization from edit account fixes #5485 2014-05-22 11:17:41 +01:00
Mike Jolley 9a7f020bb2 This branch is now 2.1.10-bleeding 2014-05-14 14:16:17 +01:00
Mike Jolley de27bb7957 TX update 2014-05-14 13:52:09 +01:00
Mike Jolley 4e2c6c89e3 readme 2014-05-14 10:48:19 +01:00
Andrew Benbow f8be405d45 Update class-wc-validation.php
Correct character 3 vaildation
2014-05-14 10:47:46 +01:00
Mike Jolley 2b8b483c30 Grunt/pot/tx 2014-05-13 16:22:02 +01:00
Mike Jolley 4eda3619ae Readme 2014-05-13 16:17:35 +01:00
claudiosmweb a1c0b77a36 normalized the woocommerce_email_attachments filter return type 2014-05-13 16:16:42 +01:00
Mike Jolley 674802c3ac Add a tip for default selections, and use opt groups for the long bulk edit list 2014-05-13 16:13:15 +01:00
Mike Jolley c40fb45725 Made wc_get_product_terms support custom menu_order by using get_terms and an include
Fixes #5455
2014-05-13 16:13:00 +01:00
claudiosmweb 0e102a021c fixed some coding standards in includes/class-wc-ajax.php 2014-05-13 16:12:54 +01:00
Mike Jolley 19625d17bb Fix notice when not scanning any files Closes #5465 2014-05-13 16:12:49 +01:00
Tamara Zuk c5c81c0818 Check if term is returned before getting its name
Prevents a rare notice if the order item meta value is blank
2014-05-13 16:12:33 +01:00
claudiosmweb b1207d8eda fixed WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock() 2014-05-13 16:12:15 +01:00
Pippin Williamson a059290fa8 Update class-wc-meta-box-coupon-data.php
Introduce `woocommerce_coupon_data_panels` action.

If someone wants to add a new tab to the Coupons data meta box, they can use the `woocommerce_coupon_data_tabs` filter to register a new tab. These tabs accept a `target` key that lets you specify the `div` ID to reveal when the tab is clicked on. It turns out, however, that there is no way to actually add the `div` to the page, making the filter for custom tabs only good for removing tabs.
2014-05-13 16:12:07 +01:00
Mrinal Kanti Roy 10c1a1882f Uttaranchal (UT) renamed to Uttarakhand (UK)
Issue: https://github.com/woothemes/woocommerce/issues/5448
2014-05-13 16:11:46 +01:00
Mike Jolley c945e5a848 Conflict 2014-05-13 16:11:39 +01:00
Mike Jolley 31ba243927 Prevent empty session data being stored until a cookie or session exists to retrieve it. 2014-05-13 16:09:36 +01:00
Mike Jolley 4a63bb1681 Brackets 2014-05-13 16:09:30 +01:00
Mrinal Kanti Roy f68f278c16 Brahmanbaria & Habiganj missing from the list
We've 64 districts but listed 62, so two states (Districts) were missing from this file 'Brahmanbaria' & 'Habiganj'.

Reference from Bangladesh Government Website: http://www.bangladesh.gov.bd/index.php?option=com_content&task=view&id=225&Itemid=272

All of 64 districts are listed there!
2014-05-13 16:09:26 +01:00
Mike Jolley 484b4920c9 Cleaned up logic in email_instructions functions for @splashingpixels 2014-05-13 16:09:14 +01:00
toddlahman 025f06a463 Use WP SEO class method rather than deprecated fn
Notice: wpseo_get_value is deprecated since version WPSEO 1.5.0! Use
WPSEO_Meta::get_value() instead.
2014-05-13 16:08:50 +01:00
claudiosmweb 1f12370fc4 defined a min value to cart quantity input 2014-05-13 16:08:13 +01:00
claudiosmweb fcfaff1954 hide number input buttons in firefox 29 and later 2014-05-13 16:08:07 +01:00
Tamara Zuk d8ac99da33 COD: check if cart is available before checking if it needs shipping 2014-05-13 16:07:53 +01:00
Mike Jolley ad5e6a4f15 param comment Fixes #5408 2014-05-13 16:07:39 +01:00
Mike Jolley b6c4d9a852 Trim commas and empty lines off address formats Fixes #5411 2014-05-13 16:07:18 +01:00
Mike Jolley 616542b09c Revise how variation attributes are deleted/updated
Prevents issues with WPE caching when you delete and then update right
after.

Conflicts:

	includes/admin/post-types/meta-boxes/class-wc-meta-box-product-data.php
2014-05-13 16:06:57 +01:00
Mike Jolley 121022a5eb Add $package to is_available shipping method hooks 2014-05-13 16:04:21 +01:00
Dave Mainville debe30861b Closes #5424 2014-05-13 16:03:56 +01:00
bolderelements 15b10ca7bc Update abstract-wc-shipping-method.php
The order is backward so if you use the default 'is_available' function for your extensions, the 'excluding' option will always deny every country because this line returns an empty array.
2014-05-13 16:02:08 +01:00
tamarazuk a2759cb2b7 COD: no need to hide in admin
Also fixes a fatal error when WC()->payment_gateways()->get_available_payment_gateways() is called in the admin
2014-05-13 16:01:46 +01:00
Max Rice 27b302b075 Fix fee/coupon lines typo in REST API order response 2014-05-13 16:01:16 +01:00
Mike Jolley 97e0449bd8 Stop sending line items to Mijireh Fixes #5365
Like PayPal, Mijireh struggles with out prices including tax due to
rounding errors. Since the validation cannot be disabled, its better to
just send the order as 1 item. This will prevent rounding errors and
payment failures.

Prices excluding tax are unaffected.
2014-05-13 16:00:46 +01:00
Mike Jolley 78e9aed6c1 Add tool for disabling shipping rate cache for debug 2014-05-13 16:00:30 +01:00
Mike Jolley f3107b2ef6 Tidyup brackets 2014-05-13 16:00:10 +01:00
Mike Jolley fa7217d565 Sanitize, but decode. UTF-8 Friendly. Fixes #5401
Originally changed 34db5d68b6
2014-05-13 15:59:34 +01:00
Nabil Kadimi 334243e2cf Make the welcome page RTL compatible. Fixes #5405 2014-05-13 15:59:13 +01:00
Jim Greenleaf 3ea4e79b82 fix case-insensitive matching for coupon posts with uppercase chars 2014-05-13 15:58:55 +01:00
Coen Jacobs 0a2b75db82 This branch is now 2.1.9-bleeding 2014-04-30 14:34:17 +02:00
James Koster 657773c2f4 twenty thirteen spacing. 2014-04-30 11:24:09 +01:00
Mike Jolley ec1d521fde Only output wrappers on order-review when not loaded via ajax 2014-04-30 11:20:43 +01:00
Mike Jolley ae50b3e4ce Remove title from product not purchasable message 2014-04-30 10:05:05 +01:00
Mike Jolley 96507fa3f4 typo in readme 2014-04-29 15:46:35 +01:00
Mike Jolley f64904307f Translation updates 2014-04-29 15:31:56 +01:00