Gerhard
bf3e5944d2
Update error message, making it clear to log in and try again.
2014-02-27 15:42:25 +01:00
Gerhard
ca3b143b36
Disable order owner check for payment if guest checkout is enabled as per #4957
2014-02-27 15:41:53 +01:00
lekiend
17cc7d7c1a
Update html-admin-page-status-report.php
...
Status report shows update also if update version is lower than current version.
It should show updates only for version number greather than current version
2014-02-27 15:41:43 +01:00
Gerhard
2fa9c2488e
Add permalinks_enabled data to API index
2014-02-27 15:41:23 +01:00
splashingpixels
39e5b81321
get related products added DISTINCT to prevent querying duplicates
2014-02-27 15:41:06 +01:00
Mike Jolley
6c337f122c
Ensure product exists before getting title. Closes #4916
2014-02-27 15:40:39 +01:00
Mike Jolley
0411d1f9df
Combine two meta queries into one #4901
2014-02-27 15:40:07 +01:00
Andrew Benbow
fc749a79fa
Update class-wc-tax.php
...
Compound tax rate calculation is wildly off.
Current tax settings : http://cld.wthms.co/Qeb6
Cart before proposed change : http://cld.wthms.co/ILXk
Cart after proposed change : http://cld.wthms.co/fjWO
2014-02-27 15:39:55 +01:00
Mike Jolley
c799aa1c57
Username from email hook Closes #4941
2014-02-27 15:39:05 +01:00
Gerhard
a8f4aaa677
Add filenames to Downloads section in My Account
2014-02-27 15:38:37 +01:00
Daniel Espinoza
4907e1d02d
Allow showing of empty categories using 'hide_empty' param of get_categories()
2014-02-27 15:33:26 +01:00
Patrick Rauland
1261e48bcc
commenting regex in flat rate shipping
2014-02-27 15:33:13 +01:00
Patrick Rauland
df72ff6fe7
using wordpress brace code style in flat rate shipping
2014-02-27 15:32:58 +01:00
Mike Jolley
500ce37c63
Fix variation level reporting Closes #4885
2014-02-27 15:32:47 +01:00
Mike Jolley
a0ffae78df
Layered nag - remember orderby #4889
2014-02-27 15:32:19 +01:00
Mike Jolley
17d03be635
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-27 15:31:53 +01:00
Mike Jolley
b3d4019ea0
Workaround relevanssi Closes #4873
2014-02-27 15:31:31 +01:00
Mike Jolley
5f3ce265ac
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-27 15:31:31 +01:00
Mike Jolley
3081c8812a
Limit item name lengths Closes #4922
2014-02-27 15:31:30 +01:00
Paul van der Meijs
093fce6238
Prevent ambiguous column error
2014-02-27 15:30:34 +01:00
Mike Jolley
cb4031f0c3
cancel_order - take no action if already cancelled.
2014-02-27 15:30:18 +01:00
Chuck Mac
10d2f9e22f
Passing post_id to the coupon save action
...
Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
2014-02-27 15:30:18 +01:00
Mike Jolley
c0ee22971d
remove un-wanted hentry from products Closes #4880
2014-02-27 15:29:49 +01:00
splashingpixels
a653bfa64b
layer nav using list OR was not displaying any terms fixes #4911
2014-02-27 15:29:21 +01:00
Justin Hill
1386625dae
Update abstract-wc-product.php
...
Add filter to is_taxable() method so that plugins can better control what is and isn't taxable based on various conditions, such as customer's billing or shipping address, etc.
2014-02-27 15:29:21 +01:00
Mike Jolley
4b38c58c9b
Transifex links
2014-02-27 15:25:32 +01:00
Mike Jolley
4a4680d9d5
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-27 15:25:19 +01:00
Mike Jolley
d57989ca62
Use get_col for sku search - return multiple results.
2014-02-27 15:24:39 +01:00
JustinSainton
fee1bc5200
capital_p_dangit()
2014-02-27 15:24:32 +01:00
Mike Jolley
ceacbb31bd
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
2014-02-27 15:24:26 +01:00
Mike Jolley
a215a94f5d
Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
...
@coenjacobs
2014-02-27 15:23:21 +01:00
Mike Jolley
465b9b9d5f
Only show settings link if method has_settings
2014-02-27 15:23:10 +01:00
Mike Jolley
f42d1a1e6f
Correctly join post meta to fix order searches Closes #4855
2014-02-27 15:22:37 +01:00
Scott Basgaard
c2e76851b2
Code clean up. Various undefined variables / notices.
2014-02-27 15:21:29 +01:00
Scott Basgaard
b1b93838c3
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-27 15:21:29 +01:00
Mike Jolley
61214a7eef
Sanitize screen id. Closes #4788
2014-02-27 15:21:09 +01:00
Mike Jolley
43d87e724e
Run array_unique on results of order search Closes #4855
2014-02-27 15:20:36 +01:00
Mike Jolley
f001d32bcd
Use md5 hash for transient names so that the lengths are valid. Closes #4851
2014-02-27 15:18:40 +01:00
Max Rice
5e48e5d682
Return request relative link headers, fixes #4925
...
When WordPress is running inside of a sub-directory,
get_woocommerce_api_url() returns the domain along with the
sub-directory path, which results in a duplicate path when the API
request string is added. This commit fixes this by fetching only the
home host and adding the request path to it. set_url_scheme() is used
to set the scheme to either http or https based on the request itself
instead of basing it on whether force_ssl_checkout is enabled or not.
2014-02-25 01:02:38 -05:00
Coen Jacobs
56ed38db10
Code standards for #4856
2014-02-18 12:28:51 +01:00
Gerhard
b4811c93d3
Fix COD warning when you have hide shipping methods until address entered selected
2014-02-18 12:28:51 +01:00
Mike Jolley
e345281018
Handle get_rate_code when no matching rate is found. Prevents notices.
2014-02-17 16:36:21 +01:00
Mike Jolley
4d831d02ee
Fix notice when left blank
2014-02-17 16:36:21 +01:00
Mike Jolley
1f295c9c69
Unify textdomains Closes #4814
2014-02-17 14:27:08 +01:00
Mike Jolley
e09c7b6cb5
wc_get_product_ids_on_sale should return array of integers, not strings Closes #4825
2014-02-17 13:35:38 +01:00
Mike Jolley
8eed83ab08
Standards and some query tweaks for get_downloadable_products #4827
2014-02-17 13:35:38 +01:00
Mike Jolley
a3967af1d0
Code standards
2014-02-17 13:35:38 +01:00
Mike Jolley
7ab814ffa9
Order status check needs to be inside wc_downloadable_product_permissions so permissions are granted after completion. Closes #4826
2014-02-17 13:35:38 +01:00
Coen Jacobs
87c5274992
Better workaround for esc_url stripping spaces #4842
2014-02-17 13:35:38 +01:00
Coen Jacobs
a610e72c09
esc_attr instead of esc_url to preserve spaces in img src #4842
2014-02-17 13:35:38 +01:00
Mike Jolley
a2aa4ec9a9
Flip default status of price_trim_zeros
...
#4828 #4823 enabled with add_filter( 'woocommerce_price_trim_zeros',
'__return_true’ );
2014-02-17 13:35:38 +01:00
Mike Jolley
c64d25884e
define cart_session_data in constructor Closes #4822
2014-02-17 13:35:38 +01:00
Mike Jolley
af2a82a7d7
Make my-account/view-order use the template file
2014-02-17 13:35:38 +01:00
Art Project Group
3f9c9c23c9
Update class-wc-shortcode-cart.php
2014-02-17 13:33:10 +01:00
Art Project Group
0a90eba7fd
Prevent an error notice
...
It only shows when country has states and state was leave in blanc on
the form.
2014-02-17 13:33:10 +01:00
Mike Jolley
57f7aeaa0c
Fix ampersands in plan text Closes #4799
2014-02-17 10:39:54 +01:00
Mike Jolley
6d0a31b491
Update docblocks
2014-02-17 10:39:53 +01:00
Mike Jolley
5564e49b15
woocommerce_get_username_from_email filter for login Closes #4791
2014-02-14 12:52:39 +01:00
Gerhard
5c22b36cb7
REST API OAuth signature issue fix when using filter params
2014-02-14 12:52:39 +01:00
Mike Jolley
1996b7b7b5
Trash instead of force delete Closes #4785
2014-02-14 12:52:39 +01:00
Mike Jolley
9d47a60914
If you only ship to the billing address, ensure the shipping address data for customers is updated Closes #4786
2014-02-14 12:52:39 +01:00
Mike Jolley
4dcea21d76
Admin screen strings need to be sanitised to work with chinese chars Closes #4788
2014-02-14 11:58:50 +01:00
Mike Jolley
ee7db46934
Force a valid base when saving permalinks
2014-02-14 11:46:47 +01:00
tamarazuk
6f4a91e36e
Dashboard: Fixes # of "out of stock" products
...
Use woocommerce_notify_no_stock_amount rather than woocommerce_notify_low_stock_amount to count out of stock products
2014-02-14 09:22:06 +01:00
Sean Cull
fa8a2a7f42
Added currency support for United Arab Emirates Dirham
2014-02-14 09:06:49 +01:00
Mike Jolley
5930b5fe77
Fix paypal shipping via text
2014-02-13 21:42:13 +01:00
Mike Jolley
5d411baa55
If logged in, and no billing_email is set, set it.
2014-02-13 16:53:32 +01:00
Mike Jolley
2853f706a5
Fix saving of fee tax total Closes #4774
2014-02-13 16:53:32 +01:00
Mike Jolley
14944c849e
Fix term counts when terms span taxonomies Closes #4738
2014-02-13 16:01:19 +01:00
Mike Jolley
86524a64f2
Update schemas before DBDELTA to fix mysql errors on update
2014-02-13 14:52:39 +01:00
Mike Jolley
e61d580aba
Buttonsource should be bn
...
@coenjacobs doesn’t have to be in read me
2014-02-13 14:52:39 +01:00
Paolo Albera
2991bee0b5
Update class-wc-countries.php
2014-02-13 14:52:39 +01:00
Mike Jolley
d59530013c
Set countries as an array by default in the shipping abstract
2014-02-13 14:52:39 +01:00
Mike Jolley
fa5c605aa7
View order shortcode is no longer used
2014-02-13 14:52:39 +01:00
Mike Jolley
32932b0a61
Tweak the order of checks in bulk_and_quick_edit_save_post to make it more efficient on autosave #4765
2014-02-13 14:52:39 +01:00
Mike Jolley
8a9aa5880f
Fix line total display for order fees Closes #4766
2014-02-13 11:28:50 +01:00
Gerhard
f0dc27a47e
Fix variation download file url save for Amazon S3 extension.
2014-02-13 11:02:26 +01:00
Mike Jolley
817ccb3999
The checkout's get_value method should return null if a value is not yet set - this allows the 'default' in woocommerce_form_field to be used as a fallback Closes #4746
2014-02-13 10:57:02 +01:00
Mike Jolley
b2592d267a
Only check DOING_AJAX
...
Not sure why, but some hosts are setting the HTTP_X_REQUESTED_WITH
header for seemingly non-ajax requests. Could be MT, could be cloud
flare, we don’t know.
2014-02-13 10:49:33 +01:00
James Koster
96c7437344
stock report icons. closes #4753
2014-02-13 10:44:59 +01:00
Mike Jolley
40fc9ef83e
Fixes Irony
2014-02-13 10:44:59 +01:00
Mike Jolley
7554cc8cd7
Fix to ensure stock status is updated, even when meta is blank. Prevents new products being hidden when the option to hide out of stock products is enabled.
2014-02-12 16:18:54 +01:00
Mike Jolley
d3dab23b75
When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650
2014-02-12 16:18:53 +01:00
Mike Jolley
3e38d1ff17
return a string for get_cart_url and get_remove_url Closes #4724
2014-02-12 16:18:53 +01:00
Mike Jolley
944327edfb
Vars in report classes Closes #4720
2014-02-12 16:18:53 +01:00
Mike Jolley
1ad409b36e
Return strings. Closes #4739
2014-02-12 16:18:53 +01:00
Mike Jolley
b62162ee3e
is_wc_endpoint_url Closes #4731
2014-02-12 16:18:53 +01:00
Mike Jolley
6956087829
Docblock Closes #4726
2014-02-12 16:18:53 +01:00
Mike Jolley
5e82c0478d
$packge is array Closes #4725
2014-02-12 16:18:53 +01:00
Mike Jolley
8d3c05f768
Tweak to structure when getting terms ordered by parent Closes #4729
2014-02-12 16:18:53 +01:00
claudiosmweb
cbeb3f48c5
fixed some coding standards in includes/wc-customer-functions.php
2014-02-12 16:14:52 +01:00
claudiosmweb
4132d604aa
fixed the indentation in includes/wc-customer-functions.php
2014-02-12 16:14:52 +01:00
claudiosmweb
f58f8672cc
prevents automatic password generation when making the registration in the My Account page, closes #4672
2014-02-12 16:14:52 +01:00
claudiosmweb
50e863e268
Removed wp_verify_nonce in wc_create_new_customer
...
The check is already done in includes/class-wc-form-handler.php 843 and includes/class-wc-checkout.php 398
On the registration made during checkout caused the error:
PHP Notice: Undefined index: register in woocommerce/includes/wc-customer-functions.php on line 53
2014-02-12 16:14:52 +01:00
Mike Jolley
d1837896e4
Added tinymce buttons relevant to the short description
2014-02-12 11:44:21 +01:00
Mike Jolley
0ca8250108
Fix saving of checkboxes (off state) in widgets API
2014-02-12 10:32:39 +01:00
Mike Jolley
8ea9fd22df
Add versions to all scripts + styles to ensure browser cache is cleared
2014-02-12 10:32:39 +01:00
Gregory K
afabced6c7
wc_create_new_customer phpdoc fix
2014-02-11 20:52:10 +01:00
Coen Jacobs
ac80b0d880
Patched up docblock after faulty merge. Closes #4721
2014-02-11 17:30:43 +01:00
Gregory K
fcd97eff07
Only string param in taxonomy_is_product_attribute
...
Conflicts:
includes/wc-conditional-functions.php
2014-02-11 17:27:06 +01:00
Mike Jolley
a4473f6679
Set $time Closes #4718
2014-02-11 17:06:11 +01:00
Mike Jolley
3ea7fbdefc
Hide empty categories in the product_categories shortcode Closes #4689
2014-02-11 16:56:59 +01:00
Mike Jolley
670048c600
Need to actually check $outdated. Derp. @coenjacobs
2014-02-11 16:26:22 +01:00
Mike Jolley
018e719468
file_exists check for wc_get_template
2014-02-11 15:49:41 +01:00
Gregory K
a7b3972ab9
sort_callback_params() phpdoc fix
2014-02-11 15:49:41 +01:00
Gregory K
cce00e8d6c
wc-cart-functions : removed unused $woocommerce and fixed phpdocs
2014-02-11 15:05:28 +01:00
Mike Jolley
4f3a9baa71
Clean up wc_price Closes #4714
2014-02-11 14:49:43 +01:00
Mike Jolley
8d118c8693
Function comment #4714
2014-02-11 14:49:43 +01:00
Mike Jolley
8362bfe1b7
New notice aimed at identifying out of date template files in a theme. Also improves the status page.
...
@coenjacobs
2014-02-11 14:41:11 +01:00
Mike Jolley
9670725bf2
Removed change password template and shortcode class - no longer used.
...
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 11:38:07 +01:00
Mike Jolley
5e02b72f1b
Sections can be lowered using sanitize_title Closes #4700
...
@coenjacobs pick me
2014-02-11 11:35:38 +01:00
James Koster
053915e58f
allow line breaks in customer addresses on order details page. closes #4709
2014-02-11 10:59:05 +01:00
vlinicx
eaa0275515
Adding a currency to woocommerce
...
I would like to add a currency for my Country.It's on a line 173.
2014-02-11 10:51:04 +01:00
Mike Jolley
ae295fbfce
During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701
2014-02-11 09:47:02 +01:00
Coen Jacobs
9ae5cc5d8f
get_subtotal_to_display docblock update. Closes #4693
2014-02-10 13:38:25 +01:00
Coen Jacobs
61a7fa93ef
Remove unused global. Closes #4694
2014-02-10 13:36:34 +01:00
Mike Jolley
e9e121b82b
Merge pull request #4671 from claudiosmweb/fix_myaccount_register
...
Fix undefined index notice in "My Account" register
2014-02-10 09:48:42 +00:00
Coen Jacobs
0033d6d116
Code standards update for #4675
2014-02-10 10:47:26 +01:00
Coen Jacobs
e934f293e9
Merge pull request #4675 from shoheitanaka/patch-1
...
$tax_code was url encoded , so decode it.
2014-02-10 10:45:41 +01:00
Coen Jacobs
8b8cc20dab
Merge pull request #4681 from thenbrent/master
...
Fix completing order payment for an order containing a deleted product
2014-02-10 10:30:01 +01:00
Mike Jolley
3eaef1d0f3
Merge pull request #4662 from Spreeuw/master
...
fixes date display on customer list page
2014-02-10 09:28:08 +00:00
Mike Jolley
9978f8fd6a
Merge pull request #4670 from claudiosmweb/patch-rc2
...
Improvements for some DocBlocks
2014-02-10 09:27:46 +00:00
Coen Jacobs
6da86e4e57
Merge pull request #4676 from kloon/master
...
Load Chosen on My Account page for country and state address edit
2014-02-09 22:34:32 +01:00
claudiosmweb
f5cf994a8c
improved the deprecated woocommerce_placeholder_img function, closes #4684
2014-02-09 03:09:31 -02:00
thenbrent
3187bfc32c
Fix completing order payment for deleted product
...
When marking payment as complete on an order which contains a product which has
since been deleted, a fatal error will be thrown because the product is assumed
to exist.
The specific error is `PHP Fatal error: Call to a member function is_downloadable()`.
It occurs when checking if the order status should be set as completed or processing,
by determining if the product on the order is downloadable and virtual.
This patch will mark an order as "processing" if the product has since been deleted.
2014-02-08 11:37:21 -08:00
Gerhard
667f46cf9e
Load Chosen on My Account page for country and state address edits, closes #4674
2014-02-08 10:58:50 +02:00
Shohei Tanaka
f03dde7868
$tax_code was url encoded , so decode it.
...
I can't read tax code at this box, if used Japanese in tax code. I want to read it in Japanese, so decode here.
2014-02-08 15:50:03 +09:00
claudiosmweb
d3f09d45b0
fixed some coding standards in includes/class-wc-form-handler.php
2014-02-07 16:35:30 -02:00
claudiosmweb
e0b729d273
fixed the indentation in includes/class-wc-form-handler.php
2014-02-07 16:27:07 -02:00
claudiosmweb
0f5faa4a77
fixed undefined username variable in myaccount register using registration generate username as true
2014-02-07 16:26:51 -02:00
claudiosmweb
18ca7c4d2f
fixed the indentation in includes/wc-conditional-functions.php
2014-02-07 15:57:17 -02:00
claudiosmweb
a9f1d47a11
fixed docblock for meta_is_product_attribute() function, closes #4668
2014-02-07 15:56:58 -02:00
claudiosmweb
7dd98549d9
updated the WC_Order version to 2.1.0
2014-02-07 15:55:30 -02:00
claudiosmweb
93b5678617
fixed some coding standards in includes/class-wc-order.php
2014-02-07 15:55:07 -02:00
claudiosmweb
1c13e994de
fixed the indentation in includes/class-wc-order.php
2014-02-07 15:41:28 -02:00
claudiosmweb
0d9752c04b
fixed docblock for WC_Order::get_formatted_line_subtotal, closes #4667
2014-02-07 15:41:09 -02:00
claudiosmweb
bcf88933c6
fixed docblock for WC_API_Customers::query_customers, closes #4666
2014-02-07 15:39:40 -02:00
claudiosmweb
bfe3020897
removed unused global vars in WC_Report_Coupon_Usage::output_report, closes #4665
2014-02-07 15:37:31 -02:00
claudiosmweb
617b6b07ae
fixed some coding standards in includes/abstracts/abstract-wc-product.php
2014-02-07 15:35:45 -02:00
claudiosmweb
6758bab16a
fixed the indentation in includes/abstracts/abstract-wc-product.php file
2014-02-07 15:31:25 -02:00
claudiosmweb
35b5614972
fixed docblock for WC_Product::get_children(), closes #4664
2014-02-07 15:31:00 -02:00
Ewout Fernhout
fe8335bbaf
fixes date display on customer list page
2014-02-07 15:50:11 +01:00
Mike Jolley
1ea1bb1a09
Translation credits
2014-02-07 13:06:20 +00:00
Mike Jolley
dc80dfdd3b
Inline note for #4655
2014-02-07 11:43:34 +00:00
Mike Jolley
4790e16812
Leaner code for getting terms
2014-02-07 11:39:37 +00:00
Mike Jolley
65cfc420a1
Code standards, and check orderby, not fields
2014-02-07 11:38:57 +00:00
Mike Jolley
4383a7b0a1
Merge pull request #4658 from Spreeuw/master
...
include product_id for extended customization of wc_add_to_cart_message
2014-02-07 10:11:29 +00:00
Mike Jolley
545441b2e3
Multiple attribute for email box Closes #4659
2014-02-07 10:10:50 +00:00
Ewout Fernhout
df773f520e
include product_id for extended customization of wc_add_to_cart_message
2014-02-06 20:24:34 +01:00
Mike Jolley
2dd73acb9d
Context for checkout string Closes #4646
2014-02-06 15:46:18 +00:00