Commit Graph

8718 Commits

Author SHA1 Message Date
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
Mike Jolley 77e5574b97 Merge pull request #5469 from claudiosmweb/normalize-woocommerce_email_attachments-filter-type
Normalize the woocommerce_email_attachments filter return type
2014-05-13 14:34:03 +01:00
claudiosmweb fcd0b03e7e normalized the woocommerce_email_attachments filter return type 2014-05-12 15:55:53 -03:00
Mike Jolley 4d2378087e Ensure _stock meta exists, or update will fail 2014-05-12 16:07:51 +01:00
Mike Jolley 70ef82a617 Add a tip for default selections, and use opt groups for the long bulk edit list 2014-05-12 15:39:13 +01:00
Mike Jolley 12d89fae87 Merge pull request #5458 from pippinsplugins/master
Update class-wc-meta-box-coupon-data.php
2014-05-12 14:43:24 +01:00
Mike Jolley d379b60720 Merge pull request #5466 from claudiosmweb/improve-ajax-class
Fix some coding standards in includes/class-wc-ajax.php
2014-05-12 14:32:03 +01:00
Mike Jolley a74f767bd6 Made wc_get_product_terms support custom menu_order by using get_terms and an include
Fixes #5455
2014-05-12 14:31:28 +01:00
claudiosmweb e65f41f014 fixed some coding standards in includes/class-wc-ajax.php 2014-05-12 10:04:36 -03:00
Mike Jolley aa24199d82 Merge pull request #5460 from claudiosmweb/fix-strict-standards-set-stock
Fix WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock()
2014-05-12 12:39:45 +01:00
Mike Jolley d8020de76c Merge pull request #5464 from tamarazuk/master
Order Item Meta - Check if attribute term exists
2014-05-12 12:35:11 +01:00
Mike Jolley bcba8248b9 Fix notice when not scanning any files Closes #5465 2014-05-12 12:34:46 +01:00
Mike Jolley 6d40dd7ff5 Merge pull request #5449 from mkrdip/patch-2
Uttaranchal (UT) renamed to Uttarakhand (UK)
2014-05-12 12:25:27 +01:00
Tamara Zuk 3ebd22b64a Check if term is returned before getting its name
Prevents a rare notice if the order item meta value is blank
2014-05-11 09:37:27 -04:00
claudiosmweb 05a6914ebc fixed WC_Product_Variable::set_stock() compatibility with WC_Product::set_stock() 2014-05-10 17:45:14 -03:00
Pippin Williamson 8d15d6dc6c 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-10 11:48:37 -04:00
Mrinal Kanti Roy 140f158088 Uttaranchal (UT) renamed to Uttarakhand (UK)
Issue: https://github.com/woothemes/woocommerce/issues/5448
2014-05-08 23:31:41 +06:00
Chuck Mac 2de7df9425 Add new 'wc_admin_reports_path' filter to reports
Add filter to allow for changing of the report class files.

This will allow 3rd party plugins to use this function to extend the
reporting. Currently this can only include files in the woocommerce plugin
directory itself.
2014-05-08 12:34:30 -04:00
Mike Jolley 439ec0d4f6 Merge pull request #5425 from superdave2u/master
Updated the get_download_url() function - fixes #5424
2014-05-08 15:18:29 +01:00
Mike Jolley 4fa5ec8310 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	includes/gateways/cod/class-wc-gateway-cod.php
2014-05-08 15:06:20 +01:00
Mike Jolley 1308662946 Option to toggle enable_for_virtual for COD, rather than just doing it.
Closes #5399
2014-05-08 15:05:34 +01:00
Mike Jolley a4b6c4eb4f Merge pull request #5415 from tamarazuk/patch-2
COD: no need to hide in admin
2014-05-08 15:04:55 +01:00
Mike Jolley 98a6fe7897 Merge pull request #5444 from mkrdip/patch-1
Brahmanbaria & Habiganj missing from the list
2014-05-08 14:19:11 +01:00
Mike Jolley 488f24f01b Prevent empty session data being stored until a cookie or session exists to retrieve it. 2014-05-08 10:36:19 +01:00
Mike Jolley ffb6dcee4a Brackets 2014-05-08 10:35:51 +01:00
Mrinal Kanti Roy 3c8c9e5f83 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-08 06:08:28 +06:00
Mike Jolley 53deeb4be5 Cleaned up logic in email_instructions functions for @splashingpixels 2014-05-07 15:54:22 +01:00
Mike Jolley 3670afdffb [2.2] get_user and get_user_id methods
Closes #5429
2014-05-07 15:11:34 +01:00
Mike Jolley 83f1236875 [2.2] Simplified attribute name sanitisation which maintains UTF8 char integrity.
Fixes #5434
2014-05-07 15:02:03 +01:00
Mike Jolley 588242e5bd Merge pull request #5440 from toddlahman/master
Use WP SEO class method rather than deprecated fn
2014-05-07 14:48:35 +01:00
Mike Jolley e631006845 Merge pull request #5435 from dimitrov-adrian/patch-9
Consistence
2014-05-07 14:48:06 +01:00
Mike Jolley a9b24c963e Merge pull request #5437 from claudiosmweb/feature-cart-qty-min-value
Define a min value to cart quantity input
2014-05-07 13:12:04 +01:00
Mike Jolley a243f138fa Merge pull request #5436 from claudiosmweb/fix-qty-input-firefox29
Hide number input buttons in firefox 29 and later
2014-05-07 13:11:46 +01:00
toddlahman 912aca6907 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-07 03:40:21 -07:00
claudiosmweb 80f44d2d1a defined a min value to cart quantity input 2014-05-06 21:49:30 -03:00
claudiosmweb 38f4d7744d hide number input buttons in firefox 29 and later 2014-05-06 21:40:19 -03:00
Adrian Dimitrov 7de8b10428 Consistence
Way to remove complete <h2> tag also consistence syntax like templates/single-product/tabs/additional-information.php
2014-05-06 23:12:09 +03:00
Tamara Zuk a9ebcdd8c6 COD: check if cart is available before checking if it needs shipping 2014-05-06 16:04:25 -04:00
Mike Jolley 9665239ba7 param comment Fixes #5408 2014-05-06 16:06:32 +01:00
Mike Jolley 18294e715d Trim commas and empty lines off address formats Fixes #5411 2014-05-06 16:04:11 +01:00
Mike Jolley 63fc4262b6 Merge pull request #5418 from tamarazuk/backorders_allowed
Introduce woocommerce_product_backorders_allowed filter
2014-05-06 15:09:56 +01:00
Mike Jolley 8c90915f09 Merge pull request #5413 from maxrice/fix-rest-api-order-response
Fix fee/coupon lines typo in REST API order response
2014-05-06 15:07:00 +01:00
Mike Jolley 32a770cf0e Merge pull request #5416 from bolderelements/patch-2
Update abstract-wc-shipping-method.php
2014-05-06 14:53:10 +01:00
Mike Jolley 0f81541870 Revise how variation attributes are deleted/updated
Prevents issues with WPE caching when you delete and then update right
after.
2014-05-06 10:47:23 +01:00
Mike Jolley ffa1db6ae6 Add $package to is_available shipping method hooks 2014-05-06 09:34:25 +01:00
Dave Mainville cabc84bf61 Closes #5424 2014-05-05 16:37:57 -04:00
Tamara Zuk 651f1ac96f Introduce woocommerce_product_backorders_allowed filter 2014-05-04 17:29:43 -04:00