Commit Graph

3169 Commits

Author SHA1 Message Date
Mike Jolley 80cba5ee05 Adjust ZIP code UI in local pickup
Closes #6647
2014-10-30 16:11:02 +00:00
claudiosmweb 324a86cea8 Fixed DocBlock for wc_get_core_supported_themes() 2014-10-30 11:00:24 -02:00
claudiosmweb fa6edff86d Added UAH currency, closes #6653 2014-10-30 10:27:16 -02:00
Nicola Mustone 011bb0a784 Added cancelled order admin email 2014-10-29 15:05:43 +01:00
Mike Jolley ab562615ce [2.2] Remove strtolower and capitalize status names
Fixes #6624
2014-10-29 11:15:00 +00:00
Mike Jolley 69ca69ce52 Split up the product widget methods 2014-10-29 11:07:06 +00:00
Mike Jolley 9be06dd9e5 Merge pull request #6635 from tivnet/patch-2
Avoid notices if file does not exist
2014-10-29 10:37:28 +00:00
Mike Jolley 3d1285c8c4 Allow some limited html in text attributes
Fixes #6620. @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
Mike Jolley bcaf0e0779 Merge pull request #6641 from coenjacobs/filter-empty-rate-code
Allow to filter empty tax rate code
2014-10-29 10:04:34 +00:00
claudiosmweb a5ad428faf [2.2] fixed the value format in stock field with wc_stock_amount(), closes #6622 2014-10-28 18:37:53 -02:00
Coen Jacobs 7ea0d586c9 Allow to filter empty tax rate code 2014-10-28 12:24:09 +01:00
Barry Kooij b76fc7c68a Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-28 11:53:44 +01:00
Barry Kooij 6312683eec Small codestyle fix to add_discount method. 2014-10-28 11:51:33 +01:00
Mike Jolley f4556fe710 [2.2] Fixed nonce check in form handler 2014-10-28 09:40:50 +00:00
Gregory Karpinsky 5460e0fed0 Avoid notices if file does not exist
1. I've got notices on files
my-theme/woocommerce/single-product\add-to-cart\bundle.php, 
my-theme/woocommerce/single-product\bundled-item-image.php, 
my-theme/woocommerce/single-product\bundled-item-title.php
which are Template Overrides (WooCommerce Product Bundles)
and do not exist in the WC plugin.

2. There should be a more elegant way, because this is just to shut up notices. No version comparison performed.
2014-10-27 20:21:33 -04:00
Mike Jolley b9eb83403e Split prevent_caching() method 2014-10-27 15:00:14 +00:00
Mike Jolley d5ca220eb4 Merge pull request #6630 from vachan/patch-1
Added Address Format for India
2014-10-27 14:09:04 +00:00
Mike Jolley b55812a8db Parse_file_path can just do replacements 2014-10-27 13:38:29 +00:00
James Koster fd81658cba storefront prompt. closes #6351 2014-10-27 13:38:04 +00:00
Vachan Kudmule 755d065107 Added Address Format for India
In India the Postcode is at the city level, thus updated the file in accordance with the Indian Standard of Address Formatting.
@line#382: Hyphenated Postcode to the City Name & State then Country.
REF: 
1) I am an Indian Citizen myself
2) http://en.wikipedia.org/wiki/Address_(geography)#India
3) http://www.addressdoctor.com/en/countries-data/address-formats.html#fbid=Bv4FMyXjoPh
4) http://www.bitboost.com/ref/international-address-formats/india/
2014-10-27 18:12:51 +05:30
Mike Jolley 04dcc6a3f2 Tweak download_product() method 2014-10-27 12:25:05 +00:00
Mike Jolley 8a310f96d8 Split download_headers() method 2014-10-27 11:01:27 +00:00
Mike Jolley abd81e6685 Split check_current_user_can_download() method 2014-10-27 11:01:27 +00:00
claudiosmweb dfde3f0028 Prevents adding trashed products in the cart 2014-10-24 20:12:55 -02:00
Mike Jolley cac813c1de Attempt to improve check_current_user_can_download() 2014-10-24 23:08:50 +01:00
Mike Jolley 63c923394c Additional download handler tweaks 2014-10-24 22:50:23 +01:00
Barry Kooij 80dc739ef0 Add return statement to check_cart_items 2014-10-24 20:56:06 +02:00
Mike Jolley c3023d4c8c WC_Download_Handler - Split download and download_product into multiple methods 2014-10-24 18:21:21 +01:00
Mike Jolley 3aaa397361 WC_Download_Handler - readfile_chunked refactor 2014-10-24 18:21:21 +01:00
Barry Kooij 1ffa095ef1 Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-24 17:04:30 +02:00
Barry Kooij fbff5936d9 Added return statement to set_quantity 2014-10-24 16:02:31 +02:00
Mike Jolley 2b8be95360 Remove # (hash) from get_order_number and add to strings instead as needed.
Most places use Order #X
Some places use Order Number: X

Both are now valid.

Fixes #6518
2014-10-24 14:53:43 +01:00
Barry Kooij 25d9b9e54a WC cart codestyle 2014-10-24 15:35:45 +02:00
Nicola Mustone 2080bcc0c4 Typo in the system report 2014-10-24 13:54:51 +02:00
Mike Jolley cde08791f6 System status table separation Closes #6290 2014-10-24 12:49:27 +01:00
Mike Jolley c62a13148b Instead of using saved title from order, use payment method_title for refund buttons
Closes #6334
2014-10-24 12:11:28 +01:00
Mike Jolley 423b9c4969 Merge pull request #6596 from krautnerds/fix-cropping-in-core-function
Fixed cropping function to respect option settings
2014-10-24 12:01:58 +01:00
Mike Jolley eff1cf53c4 Fixes for sales by cat report, Closes #6606 2014-10-24 11:58:25 +01:00
Mike Jolley 44d0152bfc [2.2] Low stock report should hide no stock
Closes #6611
2014-10-24 11:42:05 +01:00
Mike Jolley f96f01b271 esc_url_raw, huh. What is it good for. Absolutely nuthin #5798 2014-10-23 15:47:21 +01:00
Mike Jolley 2294135bff Rename touch punch to stop grunt breaking minify 2014-10-23 14:38:19 +01:00
Mike Jolley a76f9d9096 Optimise paypal gateway, and revise encoding.
#5798
2014-10-23 14:27:24 +01:00
Mike Jolley d90aee6685 Add fallbacks for wp_get_referer()
Closes #6609
2014-10-23 12:13:42 +01:00
Mike Jolley 7cc71dea44 Allow API edit_product method to update post_name (slug)
Closes #6601
2014-10-23 11:58:39 +01:00
Mike Jolley daf14fc57e Use current user ID for refunds. Closes #6598 2014-10-23 11:36:15 +01:00
Mike Jolley 1739b8b048 Merge pull request #6597 from SiR-DanieL/patch-1
Order note use comment_date instead of GMT date
2014-10-23 10:42:18 +01:00
claudiosmweb 7219addebc [2.2] Fixed POST/PUT products attributes values, closes #6600 2014-10-22 18:46:39 -02:00
Nicola Mustone dcde2a52e2 Removed GMT 2014-10-22 17:31:12 +02:00
Nicola Mustone cbbdfadb74 Order note use comment_date instead of GMT date
The order comment note should not use always GMT date. I think using `comment_date` is better.

Ref Ticket: #224994
2014-10-22 17:28:25 +02:00
Florian Ludwig d443823a52 Fixed constant value cropping to option setting
I don’t think that it is the right way to set the cropping by checking
if the ‚crop’ option is set because it could have been set to 0 in the
options. In that case it would be cropped either way because isset
would also return true.
2014-10-22 15:23:20 +02:00
Mike Jolley 997e7e7910 extra sanitisation for product data 2014-10-22 12:12:25 +01:00
Mike Jolley 06aca23919 Enforce slug format of translated edit-address-slugs.
Fixes issues with addresses not loading correctly in edit account.
2014-10-22 11:26:09 +01:00
Mike Jolley bb7f5800f5 Merge pull request #6591 from SiR-DanieL/patch-1
Avoid notice errors with W3 Total Cache
2014-10-22 09:39:55 +01:00
claudiosmweb 861a34c348 Removed the frontend styles setting #6589 2014-10-21 20:12:39 -02:00
claudiosmweb 95605982ba Load billing and shipping address when get the values in checkout, closes #6590 2014-10-21 19:56:20 -02:00
claudiosmweb eba08c41f3 alt attribute from paypal logo now is translatable 2014-10-21 19:31:37 -02:00
Nicola Mustone 359859df5c Avoid notice errors with W3 Total Cache
Avoid errors in the admin with W3 Total Cache when you add an extra space by mistake.
2014-10-21 22:24:55 +02:00
Mike Jolley b349c0883c WP remote GET test for updater
cc @kloon @ChromeOrange
2014-10-21 16:38:03 +01:00
Mike Jolley e917f10b91 Fix 2.3 plain text emails 2014-10-21 16:18:59 +01:00
Mike Jolley 0bc3ad868d [2.2] Fix error message with maximum amount
Fixes #6567
2014-10-21 14:55:43 +01:00
Mike Jolley e4b212cb3a [2.2] Fix stock report queries Closes #6565 2014-10-21 14:50:18 +01:00
Barry Kooij 4d3fbaa9e0 Regex escape mathes before using them as regex to prevent delimiter problems. 2014-10-21 15:20:19 +02:00
Barry Kooij 153664d1f1 Merge branch 'master' of github.com:woothemes/woocommerce 2014-10-21 15:09:52 +02:00
Barry Kooij e122cf482a Changed pregmatch delimiters and optimized regex.
Fixes #6584.
2014-10-21 15:09:43 +02:00
Barry Kooij 77521f699b Optimized cart get_checkout_url method. 2014-10-21 15:08:51 +02:00
claudiosmweb 42820ea88d introduced the wc_strtolower() function, closes #6575 2014-10-21 10:51:16 -02:00
Mike Jolley e41c9f3f91 Merge pull request #6585 from SiR-DanieL/bacs-slashes
Fixed indentation and added wp_unslash
2014-10-21 13:25:02 +01:00
Mike Jolley 4d44bf2c36 Merge pull request #6539 from helgatheviking/variation-is-defined
add variation class method which tests if all the attributes are set
2014-10-21 13:24:10 +01:00
Mike Jolley b09f1062da Merge pull request #6579 from woothemes/hotfix-unqiue-nonce-edit-details
[2.2] Make edit account details nonce unique to customer.
2014-10-21 13:17:36 +01:00
Gerhard 045046492f Fix nonce check on edit address. 2014-10-21 13:24:01 +02:00
Gerhard afc0ddf6e7 Propper verify nonce use on order tracking page. 2014-10-21 09:46:14 +02:00
Gerhard 5c1ad63876 Propper verify nonce use on checkout 2014-10-21 09:44:53 +02:00
Nicola Mustone b9a89e4589 Fixed indentation and added wp_unslash 2014-10-21 09:43:57 +02:00
Gerhard a08b501ebc Propper verify nonce use on edit account. 2014-10-21 08:53:54 +02:00
Gerhard 817e23a807 Propper verfiy nonce use on edit address. 2014-10-21 08:52:19 +02:00
Gerhard 36ae6b8876 remove more debug info. 2014-10-21 08:51:35 +02:00
Gerhard 9b7fd195a7 remove debug info. 2014-10-21 08:51:00 +02:00
Gerhard 1c46b7324a Register nonce used same name as register form button. 2014-10-21 08:50:23 +02:00
Gerhard 9f438edfa0 Correctly use verify nonce on register 2014-10-21 08:41:52 +02:00
Gerhard f2e65f0857 Propper verify_nonce use on reset password functionality. 2014-10-21 08:39:16 +02:00
Gerhard 1bc74317df Use wp_verify_nonce correctly in process_login 2014-10-21 08:33:48 +02:00
Gerhard 1fd61e6d75 Use wp_verify_nonce correctly in save_account_details. 2014-10-21 08:31:48 +02:00
Mike Jolley 96a9e48823 Refactored stock emails with consistent filters mirroring other email classes
Closes #6580
2014-10-20 16:59:02 +01:00
Mike Jolley 6f7ff36940 Prefix filter names #6576 2014-10-20 16:12:35 +01:00
Mike Jolley 1922b377e8 Corrected comment 2014-10-20 16:10:39 +01:00
Mike Jolley 5724d1c43f Merge pull request #6576 from primozcigler/master
Added the filter for the ajax cart_hash
2014-10-20 16:10:23 +01:00
Mike Jolley 4fa1404d86 Merge pull request #6572 from doublesharp/patch-2
Update class-wc-addons-gateway-simplify-commerce.php
2014-10-20 16:06:57 +01:00
Gerhard 1fdff91114 Make edit account details nonce unique to customer. 2014-10-20 09:35:54 +02:00
Primoz Cigler bbdcdc923a Added the filter for the ajax cart_hash, because in some cases (for example when using WPML) the empty string does not refresh the page fragments properly. 2014-10-18 20:54:25 +02:00
Nicola Mustone a14bc870c4 Improved system status 2014-10-18 11:56:58 +02:00
doublesharp 8dae054e0c Update class-wc-addons-gateway-simplify-commerce.php
Use new $order->get_status() in lieu of legacy $order->status to support the new post_status format in WC 2.2
2014-10-18 01:04:40 -07:00
Mike Jolley fa38b34977 Merge pull request #6564 from krautnerds/rest-api-filter-by-product-cat
REST API 2.0: Add possibility to filter products by product_cat
2014-10-17 16:36:44 +01:00
Florian Ludwig 671fcde079 Changed filter name and some code style compliance 2014-10-17 17:34:26 +02:00
Mike Jolley bc0cb6fc53 Merge pull request #6566 from helgatheviking/add-to-cart-handler-2
add custom add to cart handler. update for #5923
2014-10-17 16:28:30 +01:00
Kathy Darling 41c5b18659 add custom add to cart handler. update for #5923 2014-10-17 17:26:50 +02:00
Mike Jolley 8766cfa6df Tweak woocommerce_get_price_html_from_to in #6455 2014-10-17 16:25:54 +01:00
Mike Jolley 2668f0b8dd Merge pull request #6455 from paulwilde/from-to-filters
Introduce filters to get_price_html_from_text() and get_price_html_from_to()
2014-10-17 16:25:16 +01:00
Mike Jolley 20279831e7 Tweak to naming in #6375 2014-10-17 16:24:21 +01:00
Kathy Darling 3d4a534e6a rename method to has_all_attributes_set 2014-10-17 17:24:04 +02:00
Mike Jolley 21784e80cd Merge pull request #6375 from dominic-p/settings-desc
Moved description and tip generation to a separate method
2014-10-17 16:19:02 +01:00