Marin Atanasov
8892b1aeb0
fixing a typo in comments in WC_Cart and its tests
2014-11-09 17:42:49 +02:00
Marin Atanasov
cce13abc06
checking _wpnonce before using it in WC_Form_Handler::process_registration()
2014-11-09 17:14:55 +02:00
Bryce
f489739349
Add filter for registration auth cookie #6707
2014-11-08 14:30:18 -08:00
Emil Österlund
8861e23078
Fix for #6715
2014-11-08 16:08:26 +01:00
Emil Österlund
d77548f4cc
woocommerce_form_field did not use "input_class" if type was set to select, this commit solves that
2014-11-08 16:02:43 +01:00
Kathy Darling
5a2c9a3ed2
move $cart_updated inside $passed_validation IF statement. #6703
2014-11-07 11:16:37 +01:00
Gregory Karpinsky
1f7eb3e595
Update class-wc-shortcode-my-account.php
...
Return if no data submitted. Otherwise, two PHP notices are issued on checking `! $user_data` and two `wc_add_notice` printed.
2014-11-06 23:08:48 -05:00
claudiosmweb
2f7fcb56ae
Improved the Shipping class field in quick edit and bulk edit, closes #6681
2014-11-04 11:49:15 -08:00
claudiosmweb
6c4a65dbca
Fixed the WooCommerce Status widget links, closes #6685
2014-11-04 00:22:28 -08:00
James Koster
5c04007605
products settings tab. #6639
2014-10-31 19:07:04 +00:00
Mike Jolley
591086eb9b
Show notice when nonce isn't set. Fixes #6658
...
Wrap entire process_checkout method in try catch block to make errors
output correctly.
2014-10-31 15:03:53 +00:00
Mike Jolley
03e7a0ceaa
Check order exists in wc_clear_cart_after_payment()
...
Fixes #6649
2014-10-31 12:37:13 +00:00
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