Mike Jolley
d8afa1476e
Merge pull request #4953 from splashingpixels/master
...
get related products added DISTINCT to prevent querying duplicates
2014-02-26 11:13:49 +00:00
Gerhard
76c8727340
Update error message, making it clear to log in and try again.
2014-02-26 12:03:36 +02:00
Gerhard
4d1a115330
Disable order owner check for payment if guest checkout is enabled as per #4957
2014-02-26 11:57:28 +02:00
lekiend
41962f044f
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-26 10:55:27 +01:00
Gerhard
dc65c525d0
Add permalinks_enabled data to API index
2014-02-26 07:50:51 +02:00
splashingpixels
f66be96f88
get related products added DISTINCT to prevent querying duplicates
2014-02-25 15:17:50 -08:00
Mike Jolley
6ff4ae1a7d
Merge pull request #4903 from splashingpixels/master
...
Ran through jshint and fixed coding standards
2014-02-25 15:51:50 +00:00
Mike Jolley
b2abcc3c89
Merge pull request #4944 from kloon/tweak_my_account_downloads_titles
...
Add filenames to Downloads section in My Account
2014-02-25 15:45:49 +00:00
Mike Jolley
2ae5400e37
Merge pull request #4945 from ChromeOrange/master
...
Compound tax rate calculation is wildly off.
2014-02-25 15:45:01 +00:00
Mike Jolley
6d7e7370c6
Merge pull request #4947 from BFTrick/shipping-php-standards
...
Use WordPress Brace Code Style in Flat Rate Shipping Class #2
2014-02-25 14:49:25 +00:00
Mike Jolley
e73aa65440
Ensure product exists before getting title. Closes #4916
2014-02-25 14:48:55 +00:00
Patrick Rauland
61a175173e
merging upstream changes
2014-02-25 08:07:39 -06:00
Mike Jolley
9a52c5dd43
Combine two meta queries into one #4901
2014-02-25 13:33:55 +00:00
Andrew Benbow
310cd61cc5
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-25 11:54:58 +00:00
Mike Jolley
3d4f16a7a4
Username from email hook Closes #4941
2014-02-25 11:40:54 +00:00
Gerhard
123d60912b
Add filenames to Downloads section in My Account
2014-02-25 12:48:36 +02:00
Mike Jolley
b16f83804f
Merge pull request #4932 from BFTrick/flat-rate-costs-regex
...
Comment RegEx in Flat Rate Shipping
2014-02-25 10:47:29 +00:00
Mike Jolley
979e12aaf1
Merge pull request #4935 from BFTrick/refactor-flat-rate-percentage-calc
...
Adding Method to Calculate Percentage Rate Adjustment for Flat Rate Shipping
2014-02-25 10:46:53 +00:00
Max Rice
7b67161d2f
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 10:24:36 +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
Patrick Rauland
cf81e63b3c
adding new method to calculate percentage rate adjustment for flat rate shipping
2014-02-24 12:54:56 -06:00
Daniel Espinoza
3a37bec683
removing unnecessary action
2014-02-24 11:59:54 -06:00
Daniel Espinoza
bf8a825f2d
Allow showing of empty categories using 'hide_empty' param of get_categories()
2014-02-24 11:57:06 -06:00
Patrick Rauland
0fd11ad509
commenting regex in flat rate shipping
2014-02-24 11:40:26 -06:00
Daniel Espinoza
cfc30fe432
Merge branch 'master' of github.com:woothemes/woocommerce
2014-02-24 11:30:14 -06:00
Patrick Rauland
3888af3559
using wordpress brace code style in flat rate shipping
2014-02-24 11:17:33 -06:00
Mike Jolley
4789223f32
Fix variation level reporting Closes #4885
2014-02-24 17:10:08 +00:00
Mike Jolley
95ffe76841
Merge pull request #4919 from ChuckMac/Coupon_action
...
Passing post_id to the coupon save action
2014-02-24 15:48:23 +00:00
Mike Jolley
dcf4a50ca0
Layered nag - remember orderby #4889
2014-02-24 15:45:43 +00:00
Mike Jolley
9a115dc1f4
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-24 15:34:28 +00:00
Mike Jolley
373c35d7e8
Merge pull request #4912 from whatthefork/master
...
Update abstract-wc-product.php
2014-02-24 15:28:23 +00:00
Mike Jolley
36de82e428
Workaround relevanssi Closes #4873
2014-02-24 15:19:12 +00:00
Mike Jolley
38872b8536
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-24 15:14:32 +00:00
Mike Jolley
4280f5ab78
Limit item name lengths Closes #4922
2014-02-24 14:49:05 +00:00
Mike Jolley
eb48eb437f
Merge pull request #4924 from paulvandermeijs/develop-fix_exclude_protected_products
...
Prevent ambiguous column error
2014-02-24 12:35:48 +00:00
Paul van der Meijs
7daada95f9
Prevent ambiguous column error
2014-02-24 11:47:19 +01:00
Mike Jolley
f09db7a537
cancel_order - take no action if already cancelled.
2014-02-24 10:39:43 +00:00
Chuck Mac
ed952f4698
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-23 10:27:27 -05:00
Mike Jolley
7b639d45c7
remove un-wanted hentry from products Closes #4880
2014-02-23 11:13:42 +00:00
splashingpixels
7d96eb70ee
layer nav using list OR was not displaying any terms fixes #4911
2014-02-22 13:42:13 -08:00
Justin Hill
eed9485e6c
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-22 13:15:41 -07:00
Mike Jolley
90b042573e
Transifex links
2014-02-21 15:29:42 +00:00
Mike Jolley
3ab6acc495
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-21 15:16:47 +00:00
Coen Jacobs
9f5ebda756
Merge pull request #4888 from JustinSainton/patch-1
...
capital_p_dangit()
2014-02-21 13:22:51 +01:00
Mike Jolley
78d48cc597
Use get_col for sku search - return multiple results.
2014-02-21 10:35:41 +00:00
JustinSainton
d64fc3a764
capital_p_dangit()
2014-02-21 00:47:42 -08:00
Mike Jolley
5062de9767
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
2014-02-20 16:39:57 +00:00
Mike Jolley
f35c3708bb
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-20 15:41:08 +00:00
Mike Jolley
c7a129c7fd
Only show settings link if method has_settings
2014-02-20 15:16:53 +00:00
Mike Jolley
fbccfca522
Correctly join post meta to fix order searches Closes #4855
2014-02-19 16:11:20 +00:00
Coen Jacobs
8fdf4d94cf
Merge pull request #4853 from scottbasgaard/master
...
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-19 17:09:21 +01:00
Mike Jolley
f1f7b84db9
Sanitize screen id. Closes #4788
2014-02-19 14:30:21 +00:00
Mike Jolley
3f8b314431
Run array_unique on results of order search Closes #4855
2014-02-19 14:27:09 +00:00
Mike Jolley
9303908d7b
Use md5 hash for transient names so that the lengths are valid. Closes #4851
2014-02-19 14:05:36 +00: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
Coen Jacobs
1e410ebcdc
Code standards for #4856
2014-02-18 12:27:05 +01:00
Coen Jacobs
911e151423
Merge pull request #4856 from kloon/fix_cod_hidden_shipping_methods_error
...
Fix COD warning when you have hide shipping methods until address entered
2014-02-18 12:25:12 +01:00
Gerhard
3a9604bf78
Fix COD warning when you have hide shipping methods until address entered selected
2014-02-18 11:58:52 +02:00
Coen Jacobs
5094d2174a
Merge pull request #4847 from kloon/master
...
Add email lookup to customers endpoint, try at #4845
2014-02-18 10:47:50 +01:00
Scott Basgaard
39b83a3039
Code clean up. Various undefined variables / notices.
2014-02-17 22:09:58 +01:00
Scott Basgaard
563adcaa86
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-17 22:00:25 +01:00
Gerhard
a614e79ad4
update @since to 2.2
2014-02-17 19:17:40 +02:00
Gerhard
4fe3dd28fb
Move email lookup to own endpoint customers/email/<email>
2014-02-17 19:13:01 +02: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
3be6664f05
Handle get_rate_code when no matching rate is found. Prevents notices.
2014-02-17 15:11:50 +00:00
Mike Jolley
8c7996e5b1
Fix notice when left blank
2014-02-17 14:54:06 +00:00
Gerhard
5c18fab238
Add back absint to validate function for customers by id endpoint
2014-02-17 16:44:08 +02:00
Gerhard
a7e659b6fa
Review customer/<email> endpoint, move into own function
2014-02-17 16:39:56 +02:00
Mike Jolley
f9251084d9
woocommerce_get_sections_{id} filters Closes #4817
2014-02-17 14:30:42 +00:00
Mike Jolley
1f295c9c69
Unify textdomains Closes #4814
2014-02-17 14:27:08 +01:00
Gerhard
88425e64cc
Add email lookup to customers endpoint, try at 4845
2014-02-17 15:19:11 +02:00
Mike Jolley
c0c21c8364
Unify textdomains Closes #4814
2014-02-17 13:14:45 +00: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
Coen Jacobs
00dfdb73e3
Merge pull request #4811 from claudiosmweb/fix_4281
...
Add the payment method title in order details
2014-02-17 13:27:38 +01:00
Mike Jolley
37573a93e2
wc_get_product_ids_on_sale should return array of integers, not strings Closes #4825
2014-02-17 12:20:10 +00:00
Mike Jolley
c3f514fa0a
Standards and some query tweaks for get_downloadable_products #4827
2014-02-17 11:58:14 +00:00
Mike Jolley
1e1490894e
Code standards
2014-02-17 10:50:36 +00:00
Mike Jolley
b22abbda90
Order status check needs to be inside wc_downloadable_product_permissions so permissions are granted after completion. Closes #4826
2014-02-17 10:50:00 +00:00
Coen Jacobs
e2ebb387f7
Better workaround for esc_url stripping spaces #4842
2014-02-17 11:48:43 +01:00
Coen Jacobs
a19266b955
esc_attr instead of esc_url to preserve spaces in img src #4842
2014-02-17 11:29:36 +01:00
Mike Jolley
7789d34baf
Merge pull request #4831 from artprojectgroup/master
...
Prevent an error notice
2014-02-17 10:20:44 +00:00
Mike Jolley
a67c91db7b
Flip default status of price_trim_zeros
...
#4828 #4823 enabled with add_filter( 'woocommerce_price_trim_zeros',
'__return_true’ );
2014-02-17 10:19:12 +00:00
Mike Jolley
ca782212de
define cart_session_data in constructor Closes #4822
2014-02-17 10:16:06 +00:00
Mike Jolley
0ddff220d5
Make my-account/view-order use the template file
2014-02-17 09:44:45 +00: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
Art Project Group
4031c8b5d7
Update class-wc-shortcode-cart.php
2014-02-16 19:53:55 +01:00
Art Project Group
7d9a1e77a6
Prevent an error notice
...
It only shows when country has states and state was leave in blanc on
the form.
2014-02-16 15:44:24 +01:00
claudiosmweb
bc98201d26
added the payment method title in order details, closes #4281
2014-02-15 03:14:04 -02:00
vayu
db2d67590e
Added description parameter to the woocommerce_form_field function
...
With this it is possible to add a short description below every
checkout billing and shipping input field.
2014-02-15 00:19:49 +01:00
Mike Jolley
97dd163c5e
Fix ampersands in plan text Closes #4799
2014-02-14 15:37:30 +00:00
Mike Jolley
84e754e298
Update docblocks
2014-02-14 14:29:39 +00: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
8b4c81da13
Merge pull request #4796 from kloon/master
...
REST API OAuth signature issue fix when using filter params
2014-02-14 11:48:57 +00:00
Mike Jolley
e667d41497
woocommerce_get_username_from_email filter for login Closes #4791
2014-02-14 11:47:12 +00:00
Gerhard
30c1486aa7
REST API OAuth signature issue fix when using filter params
2014-02-14 13:26:31 +02:00
Mike Jolley
449c95029b
Trash instead of force delete Closes #4785
2014-02-14 11:21:14 +00:00
Mike Jolley
5bfa91f2b9
If you only ship to the billing address, ensure the shipping address data for customers is updated Closes #4786
2014-02-14 11:19:32 +00: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
94693ea81d
Admin screen strings need to be sanitised to work with chinese chars Closes #4788
2014-02-14 10:57:48 +00:00
Mike Jolley
ee7db46934
Force a valid base when saving permalinks
2014-02-14 11:46:47 +01:00
Mike Jolley
69748cd4e3
Force a valid base when saving permalinks
2014-02-14 10:43:15 +00: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
Coen Jacobs
7acc71d212
Merge pull request #4790 from tamarazuk/patch-1
...
Dashboard: Fixes # of "out of stock" products
2014-02-14 09:21:15 +01:00
Sean Cull
fa8a2a7f42
Added currency support for United Arab Emirates Dirham
2014-02-14 09:06:49 +01:00
Sean Cull
e2fab93c7a
Added currency support for United Arab Emirates Dirham
2014-02-14 02:17:22 -05:00
tamarazuk
d16fa41f05
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 00:06:30 -05:00
Mike Jolley
5930b5fe77
Fix paypal shipping via text
2014-02-13 21:42:13 +01:00
Mike Jolley
3bfbc9dfc5
Fix paypal shipping via text
2014-02-13 16:06:48 +00: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
1a92bfeb39
If logged in, and no billing_email is set, set it.
2014-02-13 15:51:16 +00:00
Mike Jolley
551ca62c3d
Fix saving of fee tax total Closes #4774
2014-02-13 15:42:17 +00:00
Mike Jolley
14944c849e
Fix term counts when terms span taxonomies Closes #4738
2014-02-13 16:01:19 +01:00
Mike Jolley
4179c342ce
Fix term counts when terms span taxonomies Closes #4738
2014-02-13 14:51:46 +00: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
744732db7a
Update schemas before DBDELTA to fix mysql errors on update
2014-02-13 13:29:55 +00:00
Mike Jolley
fd88ea5201
Buttonsource should be bn
...
@coenjacobs doesn’t have to be in read me
2014-02-13 12:31:36 +00:00
Paolo Albera
394e743dbd
Update class-wc-countries.php
2014-02-13 13:12:47 +01:00
Mike Jolley
40dda33dda
View order shortcode is no longer used
2014-02-13 11:54:54 +00:00
Mike Jolley
566a9c4dc6
Set countries as an array by default in the shipping abstract
2014-02-13 11:54:54 +00:00
Mike Jolley
4fe91a0900
Tweak the order of checks in bulk_and_quick_edit_save_post to make it more efficient on autosave #4765
2014-02-13 11:01:43 +00:00
Mike Jolley
8a9aa5880f
Fix line total display for order fees Closes #4766
2014-02-13 11:28:50 +01:00
Mike Jolley
403e90008d
Fix line total display for order fees Closes #4766
2014-02-13 10:25:15 +00:00
Gerhard
f0dc27a47e
Fix variation download file url save for Amazon S3 extension.
2014-02-13 11:02:26 +01:00
Mike Jolley
5ed8527204
Merge pull request #4749 from kloon/master
...
Fix variation download file url save for Amazon S3 extension.
2014-02-13 10:01:03 +00: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
5b5183bb35
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 09:52:48 +00: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
Coen Jacobs
0fd0e991f2
Merge pull request #4767 from woothemes/is-ajax-mod
...
Only check DOING_AJAX for AJAX requests
2014-02-13 10:49:03 +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
James Koster
f2f919ebca
stock report icons. closes #4753
2014-02-13 09:38:08 +00:00
Mike Jolley
189c7c9647
Fixes Irony
2014-02-13 09:25:24 +00:00
claudiosmweb
02053f2d5c
removed all the_content filter in favor to wpautop() and do_shortcode() functions
2014-02-13 02:49:30 -02:00
Mike Jolley
78846adfd0
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-12 22:14:26 +00:00
Gerhard
75da5d829a
Fix variation download file url save for Amazon S3 extension.
2014-02-12 21:17:09 +02: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
1cafd4f566
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 14:38:56 +00:00
Mike Jolley
ca09b0a8bc
When add_to_cart is called, ensure the correct product_id is set for variations. Closes #4650
2014-02-12 13:05:20 +00:00
Mike Jolley
e713fc68b8
return a string for get_cart_url and get_remove_url Closes #4724
2014-02-12 12:33:02 +00:00
Mike Jolley
29b59cc74f
Vars in report classes Closes #4720
2014-02-12 12:26:32 +00:00
Mike Jolley
767eba990d
Return strings. Closes #4739
2014-02-12 12:21:36 +00:00
Mike Jolley
d7493b0b8a
is_wc_endpoint_url Closes #4731
2014-02-12 12:18:36 +00:00
Mike Jolley
60fbf90d7f
Docblock Closes #4726
2014-02-12 11:56:41 +00:00
Mike Jolley
878fe196ba
$packge is array Closes #4725
2014-02-12 11:54:43 +00:00
Mike Jolley
facd746f88
Tweak to structure when getting terms ordered by parent Closes #4729
2014-02-12 11:48:00 +00:00
Mike Jolley
fbda89f76c
Merge pull request #4730 from claudiosmweb/fix_4672
...
Corrections for the wc_create_new_customer() function
2014-02-12 11:40:56 +00:00
Mike Jolley
d1837896e4
Added tinymce buttons relevant to the short description
2014-02-12 11:44:21 +01:00
Mike Jolley
5da7cc05ce
Added tinymce buttons relevant to the short description
2014-02-12 09:49:13 +00: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
Mike Jolley
fbfdc0ea95
Fix saving of checkboxes (off state) in widgets API
2014-02-12 09:29:47 +00:00
Mike Jolley
1f1a925fdd
Add versions to all scripts + styles to ensure browser cache is cleared
2014-02-12 09:23:06 +00:00
claudiosmweb
2b3ce42284
fixed some coding standards in includes/wc-customer-functions.php
2014-02-11 17:57:15 -02:00
Gregory K
afabced6c7
wc_create_new_customer phpdoc fix
2014-02-11 20:52:10 +01:00
claudiosmweb
fe74ffc882
fixed the indentation in includes/wc-customer-functions.php
2014-02-11 17:51:10 -02:00
claudiosmweb
b68873a15b
prevents automatic password generation when making the registration in the My Account page, closes #4672
2014-02-11 17:50:55 -02:00
claudiosmweb
2900d9d330
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-11 17:42:22 -02:00
Gregory K
6626400361
wc_create_new_customer phpdoc fix
2014-02-11 11:39:22 -05:00
Coen Jacobs
ac80b0d880
Patched up docblock after faulty merge. Closes #4721
2014-02-11 17:30:43 +01:00
Coen Jacobs
a2f396d4ac
Patched up docblock after faulty merge. Closes #4721
2014-02-11 17:30:25 +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
Gregory K
4445a3370e
Only string param in taxonomy_is_product_attribute
...
Conflicts:
includes/wc-conditional-functions.php
2014-02-11 17:26:47 +01:00
Mike Jolley
a4473f6679
Set $time Closes #4718
2014-02-11 17:06:11 +01:00
Mike Jolley
0bffeca947
Set $time Closes #4718
2014-02-11 16:03:02 +00:00
Mike Jolley
3ea7fbdefc
Hide empty categories in the product_categories shortcode Closes #4689
2014-02-11 16:56:59 +01:00
Mike Jolley
00fc089abe
Hide empty categories in the product_categories shortcode Closes #4689
2014-02-11 15:55:46 +00:00
Mike Jolley
670048c600
Need to actually check $outdated. Derp. @coenjacobs
2014-02-11 16:26:22 +01:00
Mike Jolley
26d0e711cd
Need to actually check $outdated. Derp. @coenjacobs
2014-02-11 15:13:51 +00: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
Coen Jacobs
cff6dd5341
Merge pull request #4719 from tivnet/upstream-master
...
sort_callback_params() phpdoc fix
2014-02-11 15:49:09 +01:00
Mike Jolley
1bb072ab20
file_exists check for wc_get_template
2014-02-11 14:48:32 +00:00
Gregory K
d401432428
sort_callback_params() phpdoc fix
2014-02-11 09:22:43 -05:00
Gregory K
cce00e8d6c
wc-cart-functions : removed unused $woocommerce and fixed phpdocs
2014-02-11 15:05:28 +01:00
Gregory K
9521f44cb2
wc-cart-functions : removed unused $woocommerce and fixed phpdocs
2014-02-11 09:01:58 -05: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
9771bf1b66
Clean up wc_price Closes #4714
2014-02-11 13:47:54 +00:00
Mike Jolley
39f5b8aec0
Function comment #4714
2014-02-11 13:47:46 +00: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
aff704ae6e
New notice aimed at identifying out of date template files in a theme. Also improves the status page.
...
@coenjacobs
2014-02-11 13:33:56 +00: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
29ef76c17c
Removed change password template and shortcode class - no longer used.
...
Change password is built into the edit-account endpoint. @coenjacobs
@hlashbrooke
2014-02-11 10:36:22 +00:00
Mike Jolley
5e02b72f1b
Sections can be lowered using sanitize_title Closes #4700
...
@coenjacobs pick me
2014-02-11 11:35:38 +01:00
Mike Jolley
b0755f695f
Sections can be lowered using sanitize_title Closes #4700
...
@coenjacobs pick me
2014-02-11 10:30:37 +00:00
James Koster
053915e58f
allow line breaks in customer addresses on order details page. closes #4709
2014-02-11 10:59:05 +01:00
James Koster
b85a881cc5
allow line breaks in customer addresses on order details page. closes #4709
2014-02-11 09:56:47 +00: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
Coen Jacobs
5dfd58be5a
Merge pull request #4687 from vlinicx/patch-1
...
Adding Croatian Kuna currency
2014-02-11 10:50:26 +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
Mike Jolley
2371ba7813
During install, register all post types and endpoints so that the rewrite rules are correctly generated. #4699 #4701
2014-02-11 00:29:29 +00: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
vlinicx
77e7f1f6e6
Adding a currency to woocommerce
...
I would like to add a currency for my Country.It's on a line 173.
2014-02-09 20:31:03 +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
Mike Jolley
a2b5086b24
Merge pull request #4648 from kloon/master
...
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:43:07 +00:00
Coen Jacobs
5d70dae52f
Introducing post taxonomy init hook
2014-02-06 14:32:25 +01:00
Gerhard
435257bc95
Improve credit card form to allow use of the woocommerce_credit_card_form_fields filter
2014-02-06 15:00:00 +02:00
Mike Jolley
65ca1753ae
woocommerce_products_will_display improvements #4644
...
- Reduced number of conditionals required.
- Broken the massive category query into a loop which can break before
checking all cats
- Used a transient to further optimise the category check
2014-02-06 09:21:47 +00:00
Mike Jolley
8d52b8d243
No class exist check needed for files included once #4616
2014-02-05 15:02:30 +00:00
Mike Jolley
2448a19545
Don't return class, just construct it. Use static methods #4616
2014-02-05 15:02:02 +00:00
Mike Jolley
9c56637def
Include_once during install and call the static to load taxonomies early. #4616
2014-02-05 15:01:30 +00:00
Mike Jolley
875694e2eb
Fix array sum and out of base subtotals
2014-02-05 11:45:26 +00:00
Coen Jacobs
60f04ee3b4
Merge pull request #4638 from woothemes/simple_fee_tax_calculation
...
Tax total for fees added to total fees
2014-02-05 12:32:25 +01:00
Coen Jacobs
b5ad68ff2a
Remove unused total fee tax variable
2014-02-05 12:31:23 +01:00
Coen Jacobs
3d7c2fc297
Tax fees should respect tax rates too
2014-02-05 12:30:47 +01:00
Coen Jacobs
c9d39bcc8b
Tax total for fees are already flattened
2014-02-05 12:03:56 +01:00
Mike Jolley
0c2b1f430c
Don't check for post_type for product query, and don't force the post_type variable as it should already be set. #4626
2014-02-04 13:44:18 +00:00
Mike Jolley
e453e6f17d
After tax coupons * qty Closes #4625
2014-02-04 13:35:04 +00:00
Mike Jolley
ad84eea2f7
Ensure coupons get totalled when prices exclude tax. Closes #4604
2014-02-03 15:29:44 +00:00
Mike Jolley
e3cc5931ba
Merge pull request #4614 from claudiosmweb/clp_currency
...
CLP currency
2014-02-03 03:50:57 -08:00
Lee Willis
8446e73c49
Add user ID to shipping packages
2014-02-02 22:30:17 +00:00
claudiosmweb
077f6d5d9c
fixed the CLP name
2014-02-01 13:00:57 -02:00
claudiosmweb
91ec6e62a0
fixed some coding standards in includes/wc-core-functions.php
2014-02-01 12:58:56 -02:00
claudiosmweb
32b772272c
added clp currency
2014-02-01 12:55:58 -02:00
Mikel Martin
ffa74e4f65
[ADD] Colombian Peso
2014-01-31 19:16:56 +01:00
Mike Jolley
9222e6a854
woocommerce_coupon_options Hook breaks custom options - used in 2 places. May have been mistake
2014-01-31 14:48:23 +00:00
Mike Jolley
eef21fa53a
Merge pull request #4603 from thenbrent/master
...
Fix rounding bug with pre-tax product % coupon
2014-01-31 04:47:56 -08:00
Mike Jolley
0d0bdc340c
Merge pull request #4601 from maxrice/master
...
Fix potential fatal error when fetching orders via API
2014-01-31 04:46:36 -08:00
thenbrent
f2a0e4bcdd
Remove dup discount calculation
2014-01-30 21:54:33 -08:00
toddlahman
13c24b410e
Removed (document).ready from jQuery scripts
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
thenbrent
390afe9f90
Fix rounding bug with pre-tax product % coupon
2014-01-30 12:50:58 -08:00
Max Rice
0b2cc1df28
Fix potential fatal error when fetching orders via API
2014-01-30 15:41:21 -05:00
Daniel Espinoza
f3f98002e5
Merge branch 'master' of github.com:woothemes/woocommerce
2014-01-30 09:39:47 -06:00
Mike Jolley
274e78512e
Store POST to variable for paypal
2014-01-30 14:47:11 +00:00
Mike Jolley
531ba9ad34
Clean meta values in paypal gateway
2014-01-30 14:47:11 +00:00
Mike Jolley
189271e610
Validate the currency code sent back by paypal
2014-01-30 14:47:11 +00:00
James Koster
006541ae03
tweaked mijireh getting started message
2014-01-29 17:42:59 +00:00
Mike Jolley
4abcc331dd
Ensure stock status is set for variations after setting to 0 Closes #4587
2014-01-29 14:39:55 +00:00
Alex Bain
49f935dd8b
Enhancing nocache helper
...
* Adding support for DONOTCACHEOBJECT
* Adding support for DONOTCACHEDB
2014-01-28 10:26:01 -08:00
Mike Jolley
ad17813e70
Merge pull request #4590 from toddlahman/master
...
Removed urldecode from $_GET and $_REQUEST and Removed (document).ready from wc_print_js()
2014-01-28 09:58:59 -08:00
toddlahman
5432d3ac56
Revert "Moved woocommerce_round_tax_total() to Formatting"
...
This reverts commit 1f7ba8867e
.
2014-01-28 09:47:46 -08:00
Mike Jolley
6f3e8c182e
Ensure gateways get loaded prior to emailing out Closes #4577
2014-01-28 12:36:20 +00:00
Mike Jolley
663bf25d79
Merge pull request #4569 from helgatheviking/master
...
add apply_filters to the product filters on the edit.php screen
2014-01-28 04:21:33 -08:00
Mike Jolley
8f2b9afe93
Check for the term object
2014-01-28 12:13:19 +00:00
Mike Jolley
239d673646
Change featured image notation to product Closes #4586
2014-01-28 11:58:20 +00:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
Mike Jolley
bd76784f97
Merge pull request #4583 from emzo/product-short-description-editor-settings
...
Filter to allow modification of wp_editor settings for product short description
2014-01-28 03:05:21 -08:00
Daniel Espinoza
d88b263119
Add 'woocommerce_product_added_to_cart' action in form add after validation. Simliar to 'woocommerce_ajax_added_to_cart'
2014-01-27 19:00:31 -06:00
Kathy Darling
77f5e9cf1d
Merge branch 'master' of github.com:woothemes/woocommerce
2014-01-27 19:02:31 +01:00
Emyr Thomas
fdc1d81814
Add 'woocommerce_product_short_description_editor_settings' filter to allow modification of the settings for the wp_editor in the product short description meta-box.
2014-01-27 14:23:58 +00:00
Roman Peshkov
16391b7185
Added check that product has been requested in WC_Query.product_query.
...
When requesting taxonomy term archive for your custom post type and that
taxonomy is shared with product post type, post_type query variable gets
rewritten.
2014-01-27 16:54:21 +04:00
toddlahman
33f2c5b4cd
Removed (document).ready from wc_print_js()
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-26 19:37:03 -08:00
Mike Jolley
f2ac6df16c
check for default Closes #4571
2014-01-26 13:59:10 +00:00
Mike Jolley
9d55ede6b1
Merge pull request #4568 from maxrice/rest-api-fixes
...
More REST API tweaks
2014-01-26 04:33:02 -08:00
toddlahman
2725527d4a
Removed urldecode from $_GET and $_REQUEST
...
The superglobals $_GET and $_REQUEST are already decoded. Using
urldecode() on an element in $_GET or $_REQUEST could have unexpected
and dangerous results.
See Notes:
http://us1.php.net/manual/en/function.urldecode.php
2014-01-26 01:19:17 -08:00
toddlahman
1f7ba8867e
Moved woocommerce_round_tax_total() to Formatting
...
woocommerce_round_tax_total() is not actually a deprecated function. In
WC 2.0, the round() method was used from the WC_Tax class.
Moved woocommerce_round_tax_total() from wc-deprecated-functions.php to
wc-formatting-functions.php.
2014-01-26 00:35:07 -08:00
splashingpixels
8f5bf6dde7
Replaced deprecated jQuery live methods with on
2014-01-24 10:34:48 -08:00
Kathy Darling
bf06494efc
add apply_filters to the product filters on the edit.php screen
2014-01-24 14:50:04 +01:00
Max Rice
f17a52fd3a
Make customer data for orders endpoint consistent for guest orders
...
Simply returning ‘guest’ for the customer property changes the data
type of the response from a dictionary to string which is bad for
clients that should be able to always expect a dictionary. This commit
fixes that by using the same dictionary structure as registered
customer orders, but excluding fields which aren’t applicable. Clients
can determine guest vs. registered customer orders by inspecting the
value of customer ID, which is 0 for guest orders.
2014-01-23 16:38:08 -05:00
Max Rice
ac1cd5d23d
Fix API keys permissions bug
...
When API keys were generated for the first time, the permissions
weren’t set, which required an additional save before they were set.
This commit fixes this to set `read` permissions by default when
initially generating API keys.
Part of #4055
2014-01-23 16:24:16 -05:00
Mike Jolley
1a416875f8
Format prices when using quick edit
2014-01-22 15:36:29 +00:00
Mike Jolley
3958a40b06
No span for checkbox descriptions
2014-01-22 15:27:42 +00:00
Mike Jolley
986f612bf7
tidy up checkbox output
2014-01-22 15:22:58 +00:00
Mike Jolley
15ba1030d6
Merge pull request #4561 from helgatheviking/fix/duplicate-label-for-settings-checkbox
...
fix for #4547
2014-01-22 07:03:23 -08:00
Mike Jolley
f46e6aefd7
Only show taxes in cart when taxes are enabled
2014-01-22 14:10:11 +00:00
Mike Jolley
e04fafcba9
Correctly total and loop fee taxes Closes #4559
2014-01-22 14:10:11 +00:00
Kathy Darling
f93abb7acb
fix for #4547
2014-01-22 13:54:25 +01:00
Geert De Deckere
2dc22a1416
Fix filter name for WC styles in deprecation notice
2014-01-22 09:42:51 +01:00
Mike Jolley
4fb500fad9
Merge pull request #4554 from claudiosmweb/fix_shop_order_columns
...
Fix warning in order list screen
2014-01-21 15:41:36 -08:00
Mike Jolley
fe83cfcbff
Merge pull request #4550 from maxrice/rest-api-top-sellers-endpoint
...
API: Add top sellers endpoint
2014-01-21 15:39:37 -08:00
Mike Jolley
fc4f813f71
Merge pull request #4552 from claudiosmweb/fix_4549
...
Hotfix for #4549
2014-01-21 15:39:30 -08:00
claudiosmweb
b60629e9b4
fixed some coding standards in includes/admin/reports/class-wc-report-sales-by-category.php
2014-01-21 20:14:26 -02:00
claudiosmweb
b717bca380
fixed the indentation in includes/admin/reports/class-wc-report-sales-by-category.php
2014-01-21 20:11:05 -02:00
claudiosmweb
43e86f3e28
added a placeholder to select in category widget on reports page
2014-01-21 20:10:40 -02:00
claudiosmweb
7e3268b7f0
fixed some coding standards in includes/admin/post-types/class-wc-admin-cpt-shop_order.php
2014-01-21 19:04:09 -02:00
claudiosmweb
9518cfdd31
fixed the indentation in includes/admin/post-types/class-wc-admin-cpt-shop_order.php
2014-01-21 18:52:07 -02:00
claudiosmweb
ed938f85d3
fixed the order notes tooltip
2014-01-21 18:51:52 -02:00
claudiosmweb
ae1c837e36
fixed some coding standards in includes/admin/reports/class-wc-report-coupon-usage.php
2014-01-21 18:23:42 -02:00
claudiosmweb
655bd20da1
fixed the indentation in includes/admin/reports/class-wc-report-coupon-usage.php
2014-01-21 18:20:35 -02:00
claudiosmweb
90373836bb
fixed empty coupons select in reports page, fixes #4549
2014-01-21 18:20:13 -02:00
Max Rice
37c9434492
API: Add top sellers endpoint
...
Part of #4055
2014-01-21 14:53:47 -05:00
Max Rice
49bacc6be3
Tweak code formatting
2014-01-21 14:07:22 -05:00
Mike Jolley
0ceb0d194b
Include admin functions for less complier on install. Closes #4527
2014-01-21 11:24:48 +00:00
Mike Jolley
f33c6a0970
Merge pull request #4539 from kloon/master
...
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes
2014-01-21 03:14:27 -08:00
Mike Jolley
dc99669eec
Get exception message in cart Closes #4543
2014-01-21 11:14:23 +00:00
Gerhard
52267220e4
wc_clean on download url instead of esc_url to support shortcodes
2014-01-21 13:09:27 +02:00
Mike Jolley
91a1fe782f
Merge pull request #4540 from maxrice/rest-api-sales-report-tweak
...
API: Add customer count to each period for sales report
2014-01-21 02:54:11 -08:00
Max Rice
233a0a706d
API: Add customer count to each period for sales report
...
Part of #4055
2014-01-20 21:41:52 -05:00
Gerhard
9eaf0225b0
Remove esc_url_raw to allow for using of amazon s3 and other shortcodes in file url
2014-01-20 21:12:26 +02:00
Mike Jolley
98e49e3b99
Delete tax rates transients on settings save Closes #4503
2014-01-20 16:00:15 +00:00
Mike Jolley
0d52064bd8
Attachments is an array Closes #4531
2014-01-20 15:33:33 +00:00
Mike Jolley
87f6958e40
Merge pull request #4524 from DominoTree/patch-1
...
Minor fix to stop warnings in HHVM
2014-01-20 04:14:10 -08:00
Mike Jolley
9fe57f9dfe
Merge pull request #4518 from a3rev/master
...
Apply filter for wc_get_template_part() function
2014-01-20 04:12:35 -08:00
Mike Jolley
eafdc19c68
Merge pull request #4534 from tubiz/master
...
Add Naira Currency and Symbol to Woocommerce
2014-01-20 04:10:22 -08:00
James Collins
7f497b3fc9
Fix PHP Warning: parse_url() expects parameter 1 to be string, array given in includes/wc-formatting-functions.php on line 41. Fixes #4535 .
2014-01-20 09:21:50 +08:00
Tunbosun Ayinla
daf73f1252
Added Naira to Available Currency
...
Naira is the official currency of Nigeria. A lot of stores are powered
by WC in Nigeria. This commit add the Naira currency and symbol to WC
#4533
2014-01-19 20:55:29 +01:00
alexcsandru
6bf855709a
Update wc-template-functions.php
...
a little bug with esc_url instead esc_attr and result was (height="http://450 ")
2014-01-19 10:14:56 +02:00
Nick Price
e69f3d6b54
Minor fix to stop warnings in HHVM
...
HHVM is a bit weird and will throw these warnings otherwise:
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 36
HipHop Warning: Cannot access property on non-object in /home/_____/public_html/wp-content/plugins/woocommerce/classes/class-wc-product-factory.php on line 37
2014-01-17 14:28:15 -06:00
a3rev
f1a00fe70c
Apply filter for wc_get_template_part() function
2014-01-16 14:46:48 +07:00
claudiosmweb
9abf6f63ab
fixed some coding standards in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php
2014-01-15 02:02:29 -02:00
claudiosmweb
990e765c24
fixed the indentation in includes/admin/post-types/meta-boxes/class-wc-meta-box-coupon-data.php
2014-01-15 01:58:07 -02:00
claudiosmweb
030cab584d
fixed validation for "Exclude products" in coupons metabox, fixes #4509
2014-01-15 01:57:41 -02:00
Mike Jolley
617d6dbd76
Merge pull request #4506 from thenbrent/master
...
Fix order discount input label "for" attribute
2014-01-14 09:14:48 -08:00
Mike Jolley
a53393e534
Merge pull request #4507 from thenbrent/cart-coupon-filters
...
Cart coupon filters
2014-01-14 09:14:34 -08:00
Mike Jolley
34c37f7493
Merge pull request #4508 from maxrice/rest-api-tweaks
...
REST API Tweaks
2014-01-14 09:13:23 -08:00
Renkas
03c0a3f7d0
Removed debug output
2014-01-14 14:30:42 +02:00
Max Rice
7f677300eb
API: Add feature image src to product response
2014-01-13 22:14:20 -05:00
Max Rice
8b6145691c
API: Add item price to order line items response
2014-01-13 22:14:08 -05:00
Max Rice
b6dbaebe01
API: Add subtotal to orders response
2014-01-13 22:13:48 -05:00
Max Rice
497ec8186e
Fix remove filter typo
2014-01-13 22:13:37 -05:00
Brent Shepherd
6610f71d5a
Fix order discount input label "for" attribute
2014-01-13 18:10:19 -08:00
Brent Shepherd
8ab50db41d
Add woocommerce_cart_totals_coupon_html filter
2014-01-13 17:25:54 -08:00
Brent Shepherd
66b7d4ee14
Add woocommerce_coupon_discount_amount_html filter
2014-01-13 17:25:54 -08:00
Mike Jolley
69694e7a13
Actions in each section of coupon admin Closes #4500
2014-01-13 12:51:00 +00:00
Mike Jolley
03f8d500a2
Input styling fixes
2014-01-13 12:46:54 +00:00
Mike Jolley
fcf43d9ac0
Customisable names for radios and checkboxes Closes #4493
2014-01-13 12:28:29 +00:00
Mike Jolley
39e45bff42
decompress #4501
2014-01-13 12:22:52 +00:00
Mike Jolley
ac24fe52fa
Check we have a product #4487
2014-01-13 11:39:54 +00:00
Mike Jolley
dc880c7af7
Missing updated class
2014-01-13 11:35:02 +00:00
Mike Jolley
d6c1725206
Merge pull request #4496 from claudiosmweb/fix_4495
...
Suggestion to fix the issue #4495
2014-01-13 03:33:12 -08:00
Mike Jolley
2e0291eff1
Merge pull request #4488 from GeertDD/cached_tax_rates
...
Cached tax rates
2014-01-13 03:19:52 -08:00
Mike Jolley
0297f8ed65
Merge pull request #4490 from claudiosmweb/fix_4489
...
Fix #4489
2014-01-13 03:05:34 -08:00
Mike Jolley
9ee977c524
Merge pull request #4485 from pmgarman/store-notice-conditional
...
Add is_store_notice_showing Conditional
2014-01-13 03:04:32 -08:00
Mike Jolley
95242473c8
Cleanup sessions - CONCAT is too slow.
...
Being tested in https://woothemes.zendesk.com/agent/#/tickets/133706
2014-01-13 10:45:35 +00:00
claudiosmweb
bdb7a3b288
fixed a small typo in includes/class-wc-install.php
2014-01-11 22:13:26 -02:00
claudiosmweb
c065617641
fixed wordpress coding standards in includes/class-wc-install.php
2014-01-11 22:05:14 -02:00
claudiosmweb
23b7ddc811
fixed the indentation in includes/class-wc-install.php
2014-01-11 21:56:50 -02:00
claudiosmweb
3a9630f29a
fixed the inventory settings install, fixes #4495
2014-01-11 21:56:29 -02:00
claudiosmweb
3d0fbc5204
fixed coding standards in includes/admin/class-wc-admin-dashboard.php
2014-01-10 22:18:28 -02:00
claudiosmweb
34213f0a84
fixed the indentation in includes/admin/class-wc-admin-dashboard.php
2014-01-10 22:15:33 -02:00
claudiosmweb
2dd9d81f3d
fixed hard code string, fixes #4489
2014-01-10 22:14:27 -02:00
Geert De Deckere
b1aabdcfc6
Merge branch 'master' into cached_tax_rates
2014-01-11 00:00:09 +01:00
Geert De Deckere
7169157297
Cache tax rates to save database queries
2014-01-10 23:57:19 +01:00
Patrick Garman
f3be3b16b6
Add is_store_notice_showing Conditional
...
Added public is_store_notice_showing conditional to `includes/wc-conditional-functions.php`
Replaced two instances of `get_option( 'woocommerce_demo_store' )` with the new conditional
2014-01-10 11:17:01 -06:00
Mike Jolley
656663ba47
is_woocommerce Closes #4475
2014-01-09 14:00:18 +00:00
Mike Jolley
48300f4ebf
woocommerce_reports_get_order_report_query Closes #4477
2014-01-09 13:57:42 +00:00
Coen Jacobs
3671eabd13
System Status bold text should have colons to split
2014-01-08 19:03:36 +01:00
Mike Jolley
478c87825f
More https ajax requests
2014-01-08 16:39:16 +00:00
Mike Jolley
34173bc1da
list_users for shop managers Closes #4354
2014-01-08 15:18:19 +00:00
Mike Jolley
e15c572465
Better handling for sent to admin/plain text args Closes #4359
2014-01-08 15:04:49 +00:00
Mike Jolley
8a73715c1f
Check specific ajax actions before enforcing HTTPS closes #4324
2014-01-08 14:53:38 +00:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Mike Jolley
51bd102fb8
Merge pull request #4448 from shoheitanaka/patch-8
...
Correct get_country_locale for Japanese
2014-01-08 06:23:12 -08:00
Mike Jolley
ddb755afd5
braces
2014-01-08 14:12:19 +00:00
Mike Jolley
72f51e7b05
Disabled for checkbox Closes #4387
2014-01-08 13:50:59 +00:00
Mike Jolley
f504243b56
Update timestamp check Closes #4409
2014-01-08 13:40:06 +00:00
Mike Jolley
a54223f910
Tweak message #4335
2014-01-08 13:38:34 +00:00
Coen Jacobs
660c0368b6
Merge pull request #4471 from shoheitanaka/master
...
misspelling in class-wc-admin-welcome.php
2014-01-08 05:36:45 -08:00
Mike Jolley
211658a8f4
Fix woocommerce_reset_loop Closes #4443
2014-01-08 13:23:40 +00:00
Mike Jolley
b9a78b5894
HTTPS for frontend only Closes #4324
2014-01-08 12:08:37 +00:00
Shohei Tanaka
618faaf519
misspelling in class-wc-admin-welcome.php
...
Misspelling is alterntative, correct is alternative.
2014-01-08 15:06:22 +09:00
Aristeides Stathopoulos
c5c340588e
Minor bugfix, missing comma
...
Missing comma causing errors in some cases
2014-01-07 22:14:35 +02:00
Mike Jolley
f36d67fa69
Merge pull request #4445 from toddlahman/master
...
improved ob_end_clean for download handler
2014-01-07 07:40:56 -08:00
Mike Jolley
9154eed860
Merge pull request #4461 from justinstern/master
...
Rename new woocommerce_order_item_quantity filter
2014-01-07 07:37:56 -08:00
Mike Jolley
b13250b620
Merge pull request #4453 from GeertDD/add_to_cart_notices
...
Improved notices in the add_to_cart() method
2014-01-07 06:41:38 -08:00
Mike Jolley
1fffd49e0a
Merge pull request #4457 from PURPORC/patch-1
...
Update abstract-wc-email.php
2014-01-07 06:37:47 -08:00
Mike Jolley
caa554faee
Merge pull request #4458 from ChromeOrange/master
...
Add delete tax rates option to system tools
2014-01-07 06:36:43 -08:00
Mike Jolley
85b4ca8c03
wc_has_notice function
2014-01-07 13:35:01 +00:00
Mike Jolley
858416605d
Don't resort meta in admin
2014-01-07 10:38:28 +00:00
justinstern
32d850a76a
woocommerce_stock_amount rather than intval
...
Using woocommerce_stock_amount filter rather than intval cast
2014-01-07 02:13:31 -05:00
Andrew Benbow
030131a311
Add delete tax rates option to system tools
2014-01-06 14:42:54 +00:00
PURPORC
d18bff3f5b
Update abstract-wc-email.php
...
Adds a plain text replacement for the dollar sign encoded as html entity.
2014-01-06 18:39:41 +11:00
Geert De Deckere
d563ff543d
Improved notices in the add_to_cart() method
...
- Moved the button markup out of the translation strings.
- Used get_cart_url() instead of get_permalink( wc_get_page_id( 'cart' ) ).
- Added some newlines to improve code readability.
2014-01-04 23:46:43 +01:00
Shohei Tanaka
72189fd0d4
Correct get_country_locale for Japanese
...
Change and correct for the plug-in introduction to Japanese environment.
2014-01-04 06:46:00 +09:00
Mike Jolley
7cafdb4bf8
Prevent settings loading twice
2014-01-03 14:13:18 +00:00
Mike Jolley
685403dc30
wordwrap #4397
2014-01-03 14:13:18 +00:00
toddlahman
6456b8d299
fix register nonce and register catch errors
2014-01-03 03:06:28 -08:00
toddlahman
75c76ff7b9
improved ob_end_clean for download handler
2014-01-02 18:35:17 -08:00
Shohei Tanaka
e6271e425d
correct the state field setting of Japan.
...
States file of JP.php has existed. So please delete this line.
2014-01-01 06:37:23 +09:00
Mike Jolley
d02b1386df
Meta box tips Closes #4367
2013-12-31 14:38:41 +00:00
Mike Jolley
a2688fad83
Fix ajax naming issues Closes #4368
2013-12-31 14:27:48 +00:00
Mike Jolley
18ffbdb82b
Tweak form handlers since they are the same form - removed empty coupon message as a result. Closes #4362
2013-12-31 14:02:50 +00:00
claudiosmweb
4efb0919d7
fixed coding standards in includes/gateways/paypal/class-wc-gateway-paypal.php
2013-12-31 10:53:55 -02:00
claudiosmweb
bf81f45abc
fixed the indentation in includes/gateways/paypal/class-wc-gateway-paypal.php
2013-12-31 10:45:02 -02:00
claudiosmweb
0b13814aac
fixed esc_urL() in get_paypal_args method
2013-12-31 10:43:48 -02:00
Mike Jolley
0b07b16e38
woocommerce_my_account_message #4429
2013-12-31 12:38:33 +00:00
Mike Jolley
8eb77f783d
Merge pull request #4429 from toddlahman/master
...
Registration error handler and my_account_message hook
2013-12-31 04:38:05 -08:00
Mike Jolley
7b1dc6fc41
Merge pull request #4437 from justinstern/master
...
A Pair of Useful Shipping Related Actions
2013-12-31 04:32:47 -08:00
Mike Jolley
5580d1e3dc
Link format #4395
2013-12-31 12:26:50 +00:00
Mike Jolley
e624f53c7d
Merge pull request #4434 from claudiosmweb/fix_reports_customer_list
...
Remove deprecated methods in includes/admin/reports/class-wc-report-customer-list.php
2013-12-31 04:15:12 -08:00
Mike Jolley
7bbbca39d6
Merge pull request #4436 from shoheitanaka/patch-5
...
correct address_formats in Japan
2013-12-31 04:14:10 -08:00
legas
fa85115260
Add missing textdomains
2013-12-31 09:50:01 +01:00
justinstern
9a2b801e7b
A Pair of Useful Shipping Related Actions
2013-12-30 18:59:09 -05:00
Shohei Tanaka
ea3834cdcc
correct address_formats in Japan
...
in Japan ,the name order is last (family) name to first name.
2013-12-31 06:35:21 +09:00
claudiosmweb
9aaa8c8875
fixed coding standards
2013-12-30 14:28:39 -02:00
claudiosmweb
b68b6f2faf
fixed the indentation in includes/admin/reports/class-wc-report-customer-list.php
2013-12-30 14:25:35 -02:00
claudiosmweb
94586aa5b9
changed wpdb::escape to esc_sql()
2013-12-30 14:24:49 -02:00
Mike Jolley
ee6c7c6d4c
wc_print_notices Closes #4431
2013-12-30 14:29:13 +00:00
Mike Jolley
67af66b96c
Add classes for placeholder Closes #4432
2013-12-30 14:22:13 +00:00
Mike Jolley
cdb1ad5e9e
On cancel, use cart page unless otherwise defined. Closes #4375
2013-12-30 14:09:50 +00:00
Mike Jolley
3ab0b5e248
Merge pull request #4428 from justinstern/master
...
Notice fix and Checkout Shipping Method classes
2013-12-30 02:34:58 -08:00
Mike Jolley
58e952d85f
Merge pull request #4430 from claudiosmweb/fix_top_rated_products_shortcode
...
Fix top rated products shortcode
2013-12-30 02:29:19 -08:00
claudiosmweb
cf756af1d5
fixed some coding standards
2013-12-29 11:54:55 -02:00
claudiosmweb
248e46c8f7
Fixed the indentation in the includes/class-wc-shortcodes.php file
2013-12-29 11:41:48 -02:00
claudiosmweb
37aa0fb53b
fixed the posts_clauses filters in top_rated_products method of the WC_Shortcodes class
2013-12-29 11:40:43 -02:00
toddlahman
6f76d1941c
Registration error handler and my_account_message hook
...
To block registration spam, and authenticate the $_POST values, a
woocommerce_process_registration_errors filter hook is needed.
WordPress has a login_message filter, which causes a duplicate message
on the My Account login page since WC uses the same filter hook name. A
different filter hook name, such as my_account_message, would eliminate
this issue.
2013-12-29 05:11:54 -08:00
justinstern
e131804d7a
Notice fix and Checkout Shipping Method classes
...
Fixes an admin notice. Adds a single class to the checkout shipping
method elements for convenience in collecting all of them via CSS
selector
2013-12-29 04:31:44 -05:00
Shohei Tanaka
52e1cd5796
misspelling in class-wc-admin-welcome.php
...
Common misspelling of receive.
2013-12-29 05:19:20 +09:00
Illimar Tambek
9b43089562
Only continue getting checkout value if null
2013-12-27 15:39:21 +02:00
Mike Jolley
68d2ac5dfe
restore field back to original #4383
2013-12-27 13:27:22 +00:00
Mike Jolley
539a736882
woocommerce_wp_radio styling Closes #4383
2013-12-27 13:26:37 +00:00
Mike Jolley
9a6cf4512c
Merge pull request #4418 from ChuckMac/master
...
Admin metabox billing information save fix
2013-12-27 04:28:09 -08:00
Mike Jolley
c916b51ef7
Country select for edit address Closes #4396
2013-12-27 12:20:51 +00:00
Chuck Mac
d852e14bea
Admin metabox billing information save fix
2013-12-26 14:56:19 -05:00
Mike Jolley
0c9962cf93
Get correct name Fixes #4385
2013-12-24 14:28:25 +00:00
Mike Jolley
cc7325e869
Ensure there is a join Fixes #4390
2013-12-24 13:31:37 +00:00
Mike Jolley
33f07a05a8
Pass order ID to woocommerce_payment_successful_result Fixes #4378
2013-12-23 15:47:56 +00:00
Mike Jolley
9c7a7d2c3d
CSS min fixes #4336
2013-12-23 14:30:39 +00:00
Mike Jolley
d3d72a8a49
Merge pull request #4372 from thenbrent/single_serve_fee
...
Only allow a fee to be added once
2013-12-23 05:33:37 -08:00
Mike Jolley
247f0ac064
Merge pull request #4344 from claudiosmweb/improved-reviews-admin
...
Improvements in editing the reviews rating
2013-12-23 05:32:54 -08:00
Mike Jolley
d9637c4b80
Merge pull request #4305 from helgatheviking/feature/min_max_args
...
add $min_or_max and $display params to variation pricing functions
2013-12-23 05:31:53 -08:00
Mike Jolley
e51da54240
Merge pull request #4330 from kloon/tweak_file_title_download_permissions
...
Tweak file title download permissions
2013-12-23 05:30:54 -08:00
Mike Jolley
e3b5df7ce2
Merge pull request #4388 from niravmehta/master
...
Expiry date calculation based on order completion date
2013-12-23 05:22:25 -08:00
Mike Jolley
17f79f651d
Merge pull request #4386 from justinstern/master
...
Downloadable File Fixes/Tweaks
2013-12-23 05:20:36 -08:00
Mike Jolley
cc8bd649ec
Merge pull request #4401 from toddlahman/master
...
Revert back to ob_end_clean to fix errors
2013-12-23 05:13:17 -08:00
Max Rice
7b4ff1ee82
Fix HTTP_X_FORWARDED_HOST notice
2013-12-20 14:03:55 -05:00
toddlahman
32af9d4440
Revert back to ob_end_clean to fix errors
...
ob_clean does not turn off output buffering as ob_end_clean does. On
some hosts ob_clean results in an error like: transfer closed with 3
bytes remaining to read. ob_end_clean fixes this.
2013-12-19 01:14:39 -08:00
Ratnakar
0faf26cbd2
Expiry date calculation based on order completion date
2013-12-17 10:37:19 +05:30
Justin Stern
ae91c698f2
Downloadable File Fixes/Tweaks
...
* Hooked up new downloadable product permissions function to
completed/processing actions
* WC_Product::get_files() is used rather than the underlying
_downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place
of $this->id which doesn't does not afford you the particular variation
when a product variation is being used.
2013-12-16 18:27:57 -05:00
Mike Jolley
3bd2d0d456
Credit card form actions - start and end
2013-12-14 12:03:32 +00:00
thenbrent
8ad3326016
Only allow a fee to be added once
2013-12-13 13:10:25 -08:00
James Koster
dbf1b15001
replace a few missed →'s. closes #4350
2013-12-12 13:42:29 +00:00
Coen Jacobs
b5a4a9e602
Removed duplicate description key. Closes #4357
2013-12-12 14:36:13 +01:00
Coen Jacobs
7fede7e6e5
Merge pull request #4334 from splashingpixels/master
...
syntax error missing semicolon on product grouped class
2013-12-12 01:44:31 -08:00
Coen Jacobs
e9ed514d8e
Merge pull request #4329 from kloon/tweak_rest_api_add_wc_version
...
Add WooCommerce version to API index route
2013-12-12 01:32:55 -08:00
Coen Jacobs
7a254a3586
Merge pull request #4331 from kloon/fix_cod_thankyou_warning
...
Fix warning on Thank You page with COD, closes #4320
2013-12-12 01:31:34 -08:00
Coen Jacobs
6a194f02e2
Merge pull request #4340 from maxrice/rest-api-warning-fixes
...
Fix warning when accessing coupons created in pre-2.1 installs
2013-12-12 01:30:00 -08:00
Coen Jacobs
00e7174149
Merge pull request #4342 from claudiosmweb/fix_4337
...
fix #4337
2013-12-12 01:29:36 -08:00
Coen Jacobs
2ddb0491c2
Merge pull request #4343 from claudiosmweb/patch-1
...
Fix #4338 and #4339
2013-12-12 01:27:18 -08:00
Lee Willis
bf5095d67d
MP6 is dead. Long live the WP admin theme
2013-12-12 07:21:28 +00:00
claudiosmweb
8344bbc2b4
removed "Trying to get property of non-object..." error on the edit review/comment page.
2013-12-10 23:48:03 -02:00
claudiosmweb
963b16d9c4
fixed standards
2013-12-10 23:43:12 -02:00
claudiosmweb
3a3a0c10ec
fixed reviews metabox visibility
2013-12-10 23:42:31 -02:00
claudiosmweb
f7f3c79fa0
fixed braces standards
2013-12-10 23:17:44 -02:00
claudiosmweb
e07e89b0de
removed not useful global variables
2013-12-10 23:17:22 -02:00
claudiosmweb
ec9091b444
fixes #4339
2013-12-10 22:41:27 -02:00
claudiosmweb
86b01ca004
fixes #4338
2013-12-10 22:40:41 -02:00
claudiosmweb
d0d5e56022
fixed space standards
2013-12-10 22:39:51 -02:00
claudiosmweb
04534fe82b
fixed braces standards
2013-12-10 22:36:56 -02:00
claudiosmweb
48aa2af8ef
fix #4337
2013-12-10 22:31:03 -02:00
Max Rice
2b0a75cbd6
Fix warning when accessing coupons created in pre-2.1 installs
2013-12-10 17:31:41 -05:00
splashingpixels
8a6848bdd3
syntax error missing semicolon on product grouped class
2013-12-10 09:38:36 -08:00
Gerhard
0f47ed8df9
Fix warning on Thank You page with COD, closes #4320
2013-12-10 13:06:22 +02:00
Gerhard
4fa98e0610
Change filecount variable
2013-12-10 12:50:48 +02:00
Gerhard
9b27b485b6
Show file title instead of count if set
2013-12-10 12:49:27 +02:00
Gerhard
a5acde8bbd
Add WooCommerce version to API index route
2013-12-10 12:24:53 +02:00
Coen Jacobs
dbeeac710d
Merge pull request #4304 from shoheitanaka/patch-2
...
Update class-wc-admin-assets.php because spell mistake
2013-12-09 06:35:46 -08:00
Coen Jacobs
b16d3e3170
Merge pull request #4321 from kloon/fix_cat_walker_strict_warnings
...
Fix strict warnings for cat walker class, closes #4319
2013-12-09 06:34:31 -08:00
Coen Jacobs
962269cdbd
Merge pull request #4318 from maxrice/rest-api-tweaks
...
REST API Tweaks
2013-12-09 06:34:04 -08:00
Coen Jacobs
31b18d24e8
Merge pull request #4317 from NikV/master
...
Some braces for the new WordPress standard
2013-12-09 06:21:26 -08:00
Coen Jacobs
64c68b8c38
Merge pull request #4301 from kloon/fix_rest_api_oauth_subfolder_install
...
Fix issue where oAuth signature is wrong when running site from a subfolder
2013-12-09 02:27:18 -08:00
James Koster
c22ebcc7ae
twentyfourteen compat. closes #4272
2013-12-09 09:55:11 +00:00
Gerhard
7db46f581f
Fix strict warnings for cat walker class, closes #4319
2013-12-09 10:07:24 +02:00
Max Rice
8389ff23e5
Fix duplicate "Link:" content with pagination link headers
2013-12-08 17:38:27 -05:00
Max Rice
1a9933cd88
Fix authentication error message typos
2013-12-08 17:37:55 -05:00
Max Rice
898adbb32d
Change money_format to currency_format for API index
2013-12-08 17:37:30 -05:00
Nik-v
a005e3e71f
Some braces for the new WordPress standard
...
Simple braces being added
2013-12-08 16:08:46 -06:00
Kathy Darling
6544d6b8f9
add $min_or_max and $display params to variation pricing functions
2013-12-07 10:11:23 +01:00
Shohei Tanaka
93944c56e1
Update class-wc-admin-assets.php because spell mistake
...
I found spell mistake.
#109 monitary to #109 monetary
2013-12-07 18:10:36 +09:00
Gerhard
8e2bc1cebc
remove harded api reference, use WooCommerce_api_url instead
2013-12-06 16:57:44 +02:00
Gerhard
5b27f37c23
Fix issue where oAuth signature is wrong when running site from a subfolder #4055
2013-12-06 15:07:42 +02:00
Mike Jolley
27d40dd46f
Fix term reordering Closes #4294
2013-12-05 16:07:44 +00:00
Mike Jolley
5239bf7b46
get_form_fields method Closes #4275
...
@coenjacobs please review. I believe its cleaner this way.
2013-12-05 15:57:01 +00:00
Mike Jolley
8910042a99
Don't load some classes during ajax events Closes #4282
2013-12-05 15:34:37 +00:00
Mike Jolley
f3fe51e3a3
Merge pull request #4293 from pauloiankoski/patch-1
...
Add "rand" option to orderby
2013-12-05 06:42:45 -08:00
Mike Jolley
27d2c87583
Tidyup
2013-12-05 13:16:52 +00:00
Mike Jolley
153c367ef4
Missing icons #4287
2013-12-05 13:16:52 +00:00
pauloiankoski
09d50a04c8
Add "rand" option to orderby
2013-12-05 10:53:22 -02:00
Coen Jacobs
1f5f163916
Added option to hide Returning customer message. Closes #4220
2013-12-05 10:43:46 +01:00
Coen Jacobs
b8409ba7b0
Merge pull request #4291 from BFTrick/flat-rate-shipping-message
...
Adding Default Shipping Price to Tooltips
2013-12-05 00:37:26 -08:00
Coen Jacobs
bcf025694e
Updated docblocks for #4292
2013-12-05 09:36:46 +01:00
Brent Shepherd
f7df434399
Remove $from param on get_price_html_from_text()
...
As it's not used at all.
2013-12-04 17:46:12 -08:00
Patrick Rauland
01c1afae59
Adding default shipping price to tooltips
2013-12-04 16:20:30 -06:00
Mike Jolley
00ff09e3a2
sort sale price
2013-12-04 12:45:23 +00:00
Mike Jolley
4826a574a0
wp_redirects
2013-12-04 12:20:18 +00:00
Mike Jolley
9e5c0fbf67
Get rid of "FROM" - display a price range, localisable. Closes #4222
2013-12-04 12:08:14 +00:00
Mike Jolley
4ce57489a7
Esnure cron is scheduled for midnight Closes #4267
2013-12-03 15:50:00 +00:00
Mike Jolley
553b273fc6
Merge pull request #4214 from toddlahman/master
...
escape download handler URLs
2013-12-03 07:32:47 -08:00
Mike Jolley
1ec8b82f69
Prevent error if variation doesn't exist.
2013-12-03 14:54:13 +00:00
Coen Jacobs
a8444eb567
Fixed faulty double return
2013-12-03 15:11:01 +01:00
Mike Jolley
53b56250f4
Clean up cancel_order and filter cancelable order status Closes #4257
2013-12-03 14:07:15 +00:00
Coen Jacobs
61a783886d
Suggested code changes in #4266
2013-12-03 15:03:25 +01:00
Gregory K
f937c36250
Inconsistent return types: TODOs
2013-12-03 14:53:49 +01:00
Mike Jolley
273ae46758
Move sample tax rates Closes #4264
2013-12-03 13:45:10 +00:00
Mike Jolley
293c998a1d
Set price slider min to min price. Closes #4183
2013-12-03 13:39:02 +00:00
Mike Jolley
418a8785b0
woocommerce_checkout_customer_userdata filter Closes #4235
2013-12-03 12:27:53 +00:00
Mike Jolley
af34b43ee6
Tweaks for #4239
2013-12-03 12:14:12 +00:00
Mike Jolley
d7d6ddbc84
Merge pull request #4240 from Spreeuw/master
...
Allow custom checkout fields to be localized
2013-12-03 04:08:09 -08:00
Mike Jolley
a071d90368
Merge pull request #4255 from BFTrick/billing-state-desc-typo
...
Fixing County Typo
2013-12-02 06:59:19 -08:00
Coen Jacobs
52f22aaea4
Thumbnail upload buttons shouldn't be submit type. Closes #4263
2013-12-02 13:10:32 +01:00
Coen Jacobs
41171efd57
Deprecated versions of void functions shouldn't return
2013-12-02 13:01:11 +01:00
Coen Jacobs
3e6acf7aab
Code changes for #4252
2013-12-02 12:34:27 +01:00
Mike Jolley
e9234e8d63
Removed a stray var dump and added braces
2013-12-02 11:09:33 +00:00
Patrick Rauland
263d2116de
fixing county typo
2013-11-29 18:26:42 -06:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Coen Jacobs
676330de2a
More code styling and return value optimisations
2013-11-29 10:33:24 +01:00
Coen Jacobs
1cb8aa1724
Code styling fixes and return values for #4244
2013-11-29 10:15:58 +01:00
Gregory K
43ca01badc
PhpDocs and TODO comments
2013-11-28 12:59:09 -05:00
Mike Jolley
06e047f6c3
Merge pull request #4243 from tivnet/master
...
PhpDocs and TODO comments
2013-11-28 09:24:10 -08:00
Mike Jolley
e0779b0f06
Global templates make more sense than shop templates, and re-use quantity inputs for cart and single products Closes #4210
2013-11-28 17:23:45 +00:00
Gregory K
cdbe5950f0
PhpDocs and TODO comments
2013-11-28 11:49:30 -05:00
Mike Jolley
4a5c965728
Merge pull request #4241 from ragulka/master
...
Fix: customer should be able to pay for a new order
2013-11-28 07:30:03 -08:00
Illimar Tambek
b22adaebfc
Fix: customer should be able to pay for a new order
2013-11-28 17:22:05 +02:00
Mike Jolley
dde1f55120
Support deprecated hook Closes #4230
2013-11-28 15:20:02 +00:00
Mike Jolley
ad84044537
More deprecated functions
2013-11-28 15:09:16 +00:00
Ewout Fernhout
bfa4ce53ff
Allow custom checkout fields to be localized
2013-11-28 15:46:08 +01:00
Coen Jacobs
aef599b6a7
Merge pull request #4237 from kloon/refactor_inline_js
...
Refactor inline js
2013-11-28 05:12:40 -08:00
Coen Jacobs
5291f2eec6
Code changes as suggested in #4238
2013-11-28 14:12:08 +01:00
Gregory K
cac9d12bf9
PhpDocs
2013-11-28 07:54:19 -05:00
Gerhard
903af259e0
refactor inline product images js
2013-11-28 14:37:44 +02:00
Coen Jacobs
dbb9b6fc68
Removed duplicate country_dropdown_options() echo. Closes #4228
2013-11-28 13:24:23 +01:00
Coen Jacobs
5f2443b331
Merge pull request #4229 from tivnet/master
...
PhpDocs: most of @return void fixed
2013-11-28 04:21:44 -08:00
Gerhard
238becb050
Refactor order notes inline js
2013-11-28 14:03:29 +02:00
Mike Jolley
bc98a8dc9f
Deprecate functions should return
2013-11-28 11:16:00 +00:00
toddlahman
52fd9a0502
esc_url applied to readfile home_url()
...
This should fix it.
Thank you Mike for the info on esc_html.
2013-11-27 15:51:56 -08:00
Gregory K
fc0df9fa59
typo
2013-11-27 13:23:46 -05:00
Gregory K
dd5a2fb334
PhpDocs
2013-11-27 13:20:31 -05:00
Mike Jolley
6db8ac6f6f
Made error counts work with new notices api Closes #4201
2013-11-27 16:15:53 +00:00
Mike Jolley
417651d579
Check for valid post type/products when setting up data
2013-11-27 16:03:54 +00:00
Mike Jolley
2bd40b29b2
Humanize order number/status string Closes #4225
2013-11-27 15:53:57 +00:00
Mike Jolley
3da2afdcef
Isset rather than empty, so states work when allowed countries are set. Closes #4223
2013-11-27 15:38:52 +00:00
Mike Jolley
ca57f2acdc
Contact first and last name and query them when searching Closes #4174
2013-11-27 15:33:09 +00:00
Mike Jolley
73887cf274
Fix default status of variation fields Closes #4205
2013-11-27 14:58:01 +00:00
Mike Jolley
a7b81eed8a
Merge pull request #4213 from kloon/fix_optimize_downloadable_products_dropdown
...
Make downloadable product dropdown ajaxy, as per #4211
2013-11-27 06:32:32 -08:00
Mike Jolley
ec480e8233
Merge pull request #4224 from mihaigrigori/master
...
Explicit currency for order prices
2013-11-27 06:28:34 -08:00
Mike Jolley
c05e369b43
Merge pull request #4215 from scottbasgaard/master
...
"Order again" doesn't work. Proposed pass at fix.
2013-11-27 06:27:39 -08:00
Gerhard
06020f4bd5
Move all download permissions inline js to meta-boxes.js
2013-11-27 16:03:04 +02:00
Gerhard
a1ad556fb9
Clear selection after adding download permissions
2013-11-27 15:29:42 +02:00
mihaigrigori
b19fb1ee09
Explicit currency for order prices
...
Set the currency for the order prices to be the order's currency instead
of the shop's currency. When these are different, the order emails are
misleading.
Related to https://github.com/woothemes/woocommerce/pull/4143
2013-11-27 11:15:20 +02:00
Coen Jacobs
19688ad9ef
Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
...
Closes #4216
2013-11-27 10:03:47 +01:00
Scott Basgaard
538e704bba
Merge branch 'master' of github.com:woothemes/woocommerce
2013-11-27 03:44:52 +01:00
toddlahman
c6fd37f2df
esc_url_raw to readfile home_url()
2013-11-26 13:55:10 -08:00
Patrick Rauland
9ac8b406c5
removing postcode for Bolivia
2013-11-26 15:41:54 -06:00
Scott Basgaard
2885da4581
"Order again" doesn't work. Proposed pass at fix.
2013-11-26 17:48:39 +01:00
Mike Jolley
2cf95fc1eb
Merge pull request #4207 from emzo/product-short-description-metabox
...
[2.1-beta-1] Remove second row of formatting buttons in product short description visual editor.
2013-11-26 08:25:21 -08:00
toddlahman
6bed7bff94
escape download handler URLs
2013-11-26 07:27:46 -08:00
Gerhard
6300e65582
Make downloadable product dropdown ajaxy, as per #4211
2013-11-26 15:54:34 +02:00
Ryan McCue
ff6f2e070e
Use correct variable for OAuth parameter check
2013-11-26 11:19:00 +10:00
Emyr Thomas
4af19400b6
Remove the second row of formatting buttons in the TinyMCE editor for the
...
product short description meta box.
2013-11-25 21:53:40 +00:00
Mike Jolley
5e9a84f26c
Fix ajax class functions and includes
2013-11-25 15:47:52 +00:00
Coen Jacobs
ac34f94321
Merge pull request #4199 from tivnet/master
...
PhpDocs fixes
2013-11-25 07:45:08 -08:00
Coen Jacobs
173f341631
Moved cart related output functions to right file
2013-11-25 16:17:18 +01:00
Gregory K
5caf292456
PhpDoc fix in class-wc-cart
2013-11-25 10:06:06 -05:00
Gregory K
ec5f2c3501
PhpDoc fixes in class-wc-coupon
2013-11-25 10:00:54 -05:00
Coen Jacobs
848dfd8bd0
Deprecate woocommerce_paying_customer the other way around
2013-11-25 15:51:14 +01:00
Coen Jacobs
c800d83182
Merge pull request #4197 from tivnet/master
...
Corrected some PhpDocs in class-wc-cart
2013-11-25 06:43:38 -08:00
Coen Jacobs
4afbd0b556
Merge branch 'function-call-refactor'
...
Conflicts:
includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Mike Jolley
d96661f45b
Reverted template function names for @jameskoster's sanity
2013-11-25 14:35:10 +00:00
Mike Jolley
b774e84e29
Revert "Replaced templates functions"
...
This reverts commit 4ce301a080
.
2013-11-25 14:16:26 +00:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Mike Jolley
51ba9c393f
WC globals
2013-11-25 14:01:38 +00:00
Mike Jolley
3408965b8a
Product functions
2013-11-25 14:01:38 +00:00
Mike Jolley
4ce301a080
Replaced templates functions
2013-11-25 14:01:37 +00:00
Mike Jolley
3973beae5d
woocommerce_ functions to wc_ - replaced attribute functions
2013-11-25 14:01:37 +00:00
Coen Jacobs
f7df17db1c
Order functions woocommerce to wc refactor
2013-11-25 14:54:52 +01:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
1663eafb68
Customer functions woocommerce to wc refactor
2013-11-25 13:52:53 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Coen Jacobs
b0e3802b5b
Refactor cart functions in core
2013-11-25 13:44:32 +01:00
Gregory K
f2e34496d0
Corrected some PhpDocs in class-wc-cart
2013-11-25 07:40:16 -05:00
Coen Jacobs
cb4e239655
Cart functions woocommerce to wc refactor
2013-11-25 13:23:39 +01:00
Coen Jacobs
aa4d9d5914
Better order for admin settings tabs
2013-11-25 12:06:42 +01:00
James Koster
cf64302063
woocommerce status dashboard widget #4042
2013-11-25 10:40:05 +00:00
Coen Jacobs
6377a2af6e
esc_attr instead of esc_url for textarea placeholder
...
Closes #4195
2013-11-25 10:41:37 +01:00
Coen Jacobs
effc108af4
Merge pull request #4192 from maxrice/http-x-forwarded-host
...
Allow forwarded hosts for forced SSL
2013-11-25 00:44:41 -08:00
Coen Jacobs
2f3ed733fb
Merge pull request #4182 from thenbrent/is-purchasable-check
...
Check products are purchasable when restoring cart
2013-11-25 00:39:16 -08:00
Coen Jacobs
084ac253f9
Merge pull request #4181 from kloon/fix_order_item_meta_ajax
...
Fix ajax calls for adding and deleting order item meta from the backend.
2013-11-25 00:38:50 -08:00
Coen Jacobs
65a1ed1b98
Fixed typo as merged in #4190
2013-11-25 09:38:03 +01:00
Coen Jacobs
8978f75f36
Remove safety net for calling WC_Product directly #4194
2013-11-25 09:25:45 +01:00
Coen Jacobs
7b63c6ce49
Remove parameters from function as well #4194
2013-11-25 09:19:24 +01:00
Coen Jacobs
73215ba4e2
Remove 2.0 tax deprecated arguments #4194
2013-11-25 09:17:44 +01:00
Coen Jacobs
6acfff9879
Fixed field matching in setting up variations
2013-11-25 09:05:27 +01:00
Andrew Benbow
0f29761268
Bracing
2013-11-25 09:02:51 +01:00
Max Rice
72316d0b5f
Allow forwarded hosts for forced SSL
2013-11-24 22:39:23 -05:00
Coen Jacobs
8054316fa6
Merge pull request #4185 from maxrice/rest-api-fixes-issue-4055
...
Various fixes for REST API
2013-11-24 12:58:25 -08:00
Coen Jacobs
e9691eed7f
Merge pull request #4184 from maxrice/api-order-status-update-issue-4161
...
Implement order status update endpoint
2013-11-24 12:58:15 -08:00
Andrew Benbow
2d03022b76
Brace all the things
2013-11-24 10:24:12 +00:00
Max Rice
c00e2d0f8c
Add total customers count to sales report
...
Part of #4055
2013-11-23 17:27:24 -05:00
Max Rice
017e7cee1d
Add permissions for count endpoints
2013-11-23 17:11:16 -05:00
Max Rice
2af47c6699
Fix incorrect total results number for pagination headers
2013-11-23 16:37:28 -05:00
Max Rice
0be58b3390
Normalize response data types
...
Part of #4055
2013-11-23 16:36:56 -05:00
Max Rice
20fb7e771f
Add total sales property to products response
2013-11-23 15:17:14 -05:00
Max Rice
3bc8fae631
Remove PUT/DELETE endpoints
...
Will be implemented in 2.2
Part of #4055
2013-11-23 15:01:53 -05:00
Max Rice
a0cb0cbb4e
Remove schema link
2013-11-23 14:41:21 -05:00
Max Rice
3f07b8be77
Specify 2 decimal places for woocommerce_format_decimal()
...
Part of #4055
2013-11-23 14:40:31 -05:00
Max Rice
5bb8c9daef
Fix permissions typo
...
Part of #4055
2013-11-23 14:32:22 -05:00
Max Rice
1ce5a71f3d
Load admin profile class when editing a user
2013-11-23 13:41:10 -05:00
Max Rice
38be2ee7a4
Perform core authentication at 0 priority
...
Makes it easier for plugins to override the core API authentication
Part of #4055
2013-11-23 13:28:26 -05:00
Max Rice
a4b3860376
Add action for plugins to load other API resources
...
Part of #4055
2013-11-23 13:27:47 -05:00
Max Rice
deac0be31b
Implement order status update endpoint
...
Closes #4161
2013-11-23 12:59:21 -05:00
thenbrent
1ce5500b06
Add WC_Cart::get_cart_for_session()
2013-11-22 15:30:24 -08:00
thenbrent
bb14495064
Check products are purchasable when restoring cart
...
If WC_Product::is_purchasable() is only called when adding a product to the cart,
it's possible to purchase products that aren't purchasable (but were when they were
added to the cart).
2013-11-22 15:14:08 -08:00
Gerhard
bac3c81296
Fix ajax calls for adding and deleting order item meta from the backend.
2013-11-22 15:16:38 +02:00
Max Rice
d7c77d1ab7
API: Add XML generation
...
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.
Part of #4165
2013-11-22 03:41:32 -05:00
Coen Jacobs
f8ef3444b0
Fixed undefined esc_atr function error
2013-11-21 14:28:09 +01:00
Scott Basgaard
922fa990a5
esc_attr() all the things.
2013-11-20 20:11:59 +01:00
Scott Basgaard
de77ec07ea
esc_url() all the things.
2013-11-20 19:54:01 +01:00
Mike Jolley
3acfc07684
Fix user search and sanitize search strings
2013-11-20 17:30:49 +00:00
Mike Jolley
43807a0488
Accessing currency wrong
2013-11-20 17:25:48 +00:00
Mike Jolley
cc40557077
filter for cart fragment #4132
2013-11-20 16:31:28 +00:00
Mike Jolley
0dc0b9cbb0
Indenting fail.
2013-11-20 16:13:53 +00:00
Mike Jolley
7cb88db630
Merge pull request #4143 from mihaigrigori/master
...
Show order currency
2013-11-20 08:12:21 -08:00
Mike Jolley
03bda02144
Merge pull request #4147 from BFTrick/optimize-images
...
Optimizing Images
2013-11-20 06:35:26 -08:00
Mike Jolley
b3480fc60e
Merge pull request #4148 from scottbasgaard/master
...
Use remove_ordering_args() to remove order query filters instead of remo...
2013-11-20 06:35:03 -08:00
Mike Jolley
453942252e
Merge pull request #4151 from toddlahman/master
...
wc_ delimiter to identify start of uniquid
2013-11-20 06:34:40 -08:00
Mike Jolley
4a06538125
Merge pull request #4153 from kloon/tweak_formatted_price_filter
...
Add formatted_woocommerce_price filter.
2013-11-20 06:33:53 -08:00
Gerhard
970ae40004
Remove function and use global woocommerce_timezone_string function instead
2013-11-20 16:16:04 +02:00
Gerhard
475e9abe83
Add formatted_woocommerce_price filter.
2013-11-20 10:40:29 +02:00
toddlahman
0c07663b26
wc_ delimiter to identify start of uniquid
2013-11-20 00:03:49 -08:00
Gerhard
4afff14de1
Remove unused variable from function
2013-11-20 07:57:48 +02:00
Gerhard
df5929093d
REST API - Fix fatal error due to missing get_timezone function
2013-11-20 07:55:28 +02:00
Scott Basgaard
9409907ffa
Use remove_ordering_args() to remove order query filters instead of remove_product_query(). Most likely was a merge issue. Fixes #4142
2013-11-19 22:38:00 +01:00
Patrick Rauland
3fc598ff77
optimizing images
2013-11-19 12:59:01 -06:00
Mike Jolley
922406b67b
Merge pull request #4145 from scottbasgaard/master
...
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this...
2013-11-19 09:06:31 -08:00
toddlahman
10273973d8
Methods called statically set to static
2013-11-19 08:26:18 -08:00
Coen Jacobs
6f1f946d02
Merge pull request #4144 from kloon/fix_api_user_profile_warning
...
Fix warning in new rest api key generation
2013-11-19 08:20:31 -08:00
Mike Jolley
459db7ec63
2.1 welcome screen Closes #4043
2013-11-19 16:18:47 +00:00
Scott Basgaard
f3b2854638
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this->json_search_products() instead.
2013-11-19 14:44:28 +01:00
Gerhard
bb43d086c9
Fix warning in new rest api key generation
2013-11-19 15:18:25 +02:00
mihaigrigori
fac0bf69eb
Show order currency
...
- method to return the order currency
- allow 'currency' parameter for 'woocommerce_price'
2013-11-19 15:13:11 +02:00
Scott Basgaard
bee41fb7e5
woocommerce_get_refreshed_fragments() is no longer. Update where it was called to new Ajax class method.
2013-11-19 13:33:26 +01:00
James Koster
0257ce201a
wc messages #4042
2013-11-19 11:22:59 +00:00
James Koster
489bf34385
attributes table. closes #4118
2013-11-19 11:04:45 +00:00
Mike Jolley
8339354bc2
Merge pull request #4119 from kloon/feature_create_missing_pages_button
...
Add button on tools page to create missing pages
2013-11-19 01:46:22 -08:00
Coen Jacobs
792bb6e444
Merge pull request #4134 from scottbasgaard/master
...
Product->get_title() should be raw format by default. Pass at #4124
2013-11-19 01:02:18 -08:00
Coen Jacobs
ac59c59da7
wc_add_notice added extra parameter #4099
...
Thanks @thenbrent :)
2013-11-19 09:57:06 +01:00
Coen Jacobs
e41687ba4f
Merge pull request #4138 from woothemes/api-implementation
...
API implementation merge to master
2013-11-19 00:53:11 -08:00
Max Rice
ef22f03275
Add API key-specific permission check
...
Part of #4055
2013-11-19 03:04:00 -05:00
Max Rice
61fb0f760a
Update authentication to use new API key meta names
...
Part of #4055
2013-11-19 03:03:39 -05:00
Max Rice
f542ce87a1
Add key management UX
...
Part of #4055
2013-11-19 03:02:28 -05:00
Max Rice
001ce0fc3e
Add option to enable/disable API
...
Part of #4055
2013-11-19 03:01:46 -05:00
Max Rice
dcdca4d4d2
Remove API settings tab
...
Part of #4055
2013-11-19 03:01:14 -05:00
Max Rice
48e8363db0
Add meta to resource responses
...
Part of #4055
2013-11-18 22:58:10 -05:00
Max Rice
3130369325
Update filter_response_fields() to support sub-field inclusion
...
Part of #4055
2013-11-18 21:59:13 -05:00
Max Rice
490dc758a9
Update pagination args/headers
...
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice
87ff36db12
Properly handle datetimes
...
Part of #4055
2013-11-18 16:47:38 -05:00
Gerhard
02c62bd132
fix call to static method inside class
2013-11-18 21:59:10 +02:00
Gerhard
0e21a46cf4
make creat_pages static
2013-11-18 17:56:04 +02:00
Scott Basgaard
96fe4aae0b
Use wp_unslash() when displaying search string on orders.
2013-11-18 16:32:47 +01:00
Scott Basgaard
faf64a4d96
Product->get_title() should be raw format by default. Pass at #4124
2013-11-18 16:03:32 +01:00
Mike Jolley
d78b4287bf
shortcode_atts and show price - closes #4122
2013-11-18 14:37:27 +00:00
Mike Jolley
6ea8cad430
Related display fixes for attributes #4123
2013-11-18 14:11:40 +00:00
Mike Jolley
20bedea97b
Fix filters Closes #4123
2013-11-18 13:45:54 +00:00
Mike Jolley
26cf2e0669
Isset, not empty for 0 values. Closes #4127
2013-11-18 13:35:38 +00:00
Mike Jolley
434421aad7
Validation errors #4115
2013-11-18 12:53:45 +00:00
Mike Jolley
a957248a4d
woocommerce_product_gallery_attachment_ids filter Closes #4113
2013-11-18 12:40:58 +00:00
Mike Jolley
9eabb9a4fb
Fix yard conversion Closes #4129
...
@coenjacobs for .21
2013-11-18 12:31:55 +00:00
Mike Jolley
65561e2c61
WC()
2013-11-18 12:31:55 +00:00
Coen Jacobs
90008d7143
Merge remote-tracking branch 'thenbrent/new_notice_api'
...
Conflicts:
includes/shortcodes/class-wc-shortcode-cart.php
includes/wc-message-functions.php
woocommerce-ajax.php
2013-11-18 12:44:22 +01:00
Coen Jacobs
f0adcb65b7
Merge remote-tracking branch 'thenbrent/add_payment_method_issue_3396'
2013-11-18 12:33:23 +01:00
Mike Jolley
f6786ef6bf
Convert back to forward slashes in getcwd closes #4112 .
...
@tivnet, can you confirm? I don't have windows.
2013-11-18 11:20:39 +00:00
Max Rice
c1854b26b9
Implement GET /reports/sales endpoint
...
Part of #4055
2013-11-15 00:21:19 -05:00
Coen Jacobs
faaebab2ff
Always require braces (since yesterday ;) )
...
In order to comply to the new coding standards:
http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/
2013-11-14 20:31:08 +01:00
Gerhard
3607ecf285
Add button on tools page to create missing pages
2013-11-14 21:20:18 +02:00
Max Rice
5ab8e085ad
Update /coupons/code endpoint
...
Part of #4055
2013-11-14 13:56:05 -05:00
Max Rice
ec55e43c24
Update API index response
...
Part of #4055
2013-11-14 13:55:45 -05:00
Scott Basgaard
4bdfd78ac5
Avoid undefined variable notices when calculating totals and saving attributes via AJAX.
2013-11-14 19:40:15 +01:00
Scott Basgaard
9f7f36b232
Merge branch 'master' of github.com:woothemes/woocommerce
...
Conflicts:
woocommerce-ajax.php
2013-11-14 19:37:34 +01:00
Max Rice
709f0da16f
Improve response filters
...
Part of #4055
2013-11-14 12:48:20 -05:00
Max Rice
451bc07339
Tweak GET /order response
...
Part of #4055
2013-11-14 12:42:42 -05:00
Max Rice
674ea42012
Implement GET endpoint for products and reviews
...
Part of #4055
2013-11-14 12:40:35 -05:00
Mike Jolley
221a9d7350
Merge pull request #4111 from tivnet/master
...
Incorrect "Robots: none" tag?
2013-11-14 05:53:12 -08:00
Gregory K
eba9edb30b
Incorrect "Robots: none" tag?
...
https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag
2013-11-14 07:40:33 -05:00
Mike Jolley
3d7df1bb85
Merge pull request #4108 from corsonr/master
...
Added Icelandic krona & Currency symbol
2013-11-14 04:28:31 -08:00
Mike Jolley
645ca3e834
WC_Ajax class for ajax events
2013-11-14 12:13:34 +00:00
Remi Corson
479153918e
Fixed incorrect Icelandic currency code
2013-11-14 11:44:58 +01:00
Remi Corson
84e8716844
Added Icelandic krona & Currency symbol
2013-11-14 11:42:05 +01:00
Remi Corson
55ccb4d428
Added Icelandic krona currency & currency code
2013-11-14 11:39:59 +01:00
Mike Jolley
d7ee32b18a
Consistant naming with core
2013-11-14 09:48:41 +00:00
Scott Basgaard
97fe6adaeb
It's possible there are no attributes. Let's check first to avoid undefined notices.
2013-11-13 21:15:30 -05:00
Scott Basgaard
5b5704d196
More undefined checks to avoid PHP notices in widgets.
2013-11-13 21:11:00 -05:00
Scott Basgaard
c36369010d
When adding new widget instance, use isset() to make sure setting key exists and avoid notices/warnings.
2013-11-13 21:03:46 -05:00
Scott Basgaard
eb91907db6
Make sure $matched is defined when calculating shipping totals and classes to avoid PHP variable undefined notices.
2013-11-13 20:53:31 -05:00
Scott Basgaard
f76a5edea8
Display message when tools options have been saved.
2013-11-13 20:36:27 -05:00
thenbrent
9e80672143
Use new notice template for Shipping Updated
...
For #4034
2013-11-13 16:20:27 -08:00
thenbrent
3c625eba5f
Use $messages variable for all notice templates
2013-11-13 16:19:59 -08:00
thenbrent
a7a7a8ee08
fixup! Store all notices in 'wc_notices' array
2013-11-13 16:19:27 -08:00
thenbrent
8dcf86335c
Introduce new wc_print_notice() function
2013-11-13 16:10:31 -08:00
thenbrent
3fa310969f
Introduce new wc_get_notices() function
...
To replace the deprecated Woocommerce->get_messages() and
Woocommerce->get_errors() functions
2013-11-13 16:09:28 -08:00
thenbrent
376c2f26ce
Store all notices in 'wc_notices' array
...
With 'error', 'success' & 'notice' array keys
2013-11-13 16:09:28 -08:00
thenbrent
41ba6578a0
Move notice templates into /notices/notice.php
2013-11-13 16:09:28 -08:00
Mike Jolley
02c47b2723
get_related wpdb query Closes #4086
2013-11-13 18:00:01 +00:00
Mike Jolley
2b57114a12
WC() > $woocommerce
2013-11-13 16:59:42 +00:00
Mike Jolley
197c0c76cc
Only unset cookie if it exists #3513
2013-11-13 14:55:15 +00:00
Mike Jolley
daea1e827c
Merge pull request #4094 from robdvr/master
...
Ability to add custom input classes
2013-11-13 04:18:19 -08:00
Mike Jolley
044f92fe41
Merge pull request #4096 from scottbasgaard/master
...
Use $_product object instead of undefined $product_id for downloadable p...
2013-11-13 04:15:22 -08:00
Mike Jolley
e9c38153e5
Merge pull request #4101 from franticpsyx/variation_is_visible
...
Fix invisible variations when get_price is filtered and set to (double) 0.
2013-11-13 04:15:04 -08:00
Mike Jolley
2c25568e21
Filter for adding login erorrs #4059
2013-11-13 12:12:27 +00:00
Mike Jolley
f1e6900359
Hooks before and after deleting order items #4059
2013-11-13 12:12:27 +00:00
Mike Jolley
b116d7619d
Ex tax calcs Closes #4100
2013-11-13 12:12:27 +00:00
Mike Jolley
dbdf66aec0
Multiselect
2013-11-13 12:12:26 +00:00
Manos Psychogyiopoulos
fd2a812e6d
Fix invisible when get_price is filtered and set to double 0.
2013-11-13 13:58:24 +02:00