Mike Jolley
f09063b1fd
Merge pull request #5170 from mgmartel/order-comments-caps
...
Remove comment exclusion in order notes meta box
2014-03-19 10:57:07 +00:00
Mike Jolley
51482579d1
sync min and max prices for regular and sale prices so prices are displayed correctly when sale price is lower than a regular price of another variation
2014-03-19 10:51:07 +00:00
Mike Jolley
7f7dae0629
get_children visible only arg to hide out of stock items. Moved logic.
2014-03-19 10:06:13 +00:00
Mike Jolley
b1df70f17e
wc_session_use_secure_cookie filter
2014-03-19 09:16:28 +00:00
splashingpixels
c7bb4f0bbb
removed url decode from custom text attributes related to commit 7bce58e
2014-03-18 15:11:43 -07:00
Patrick Rauland
f7a63f0ae8
fixing comma issue with free shipping coupon
2014-03-18 16:29:15 -05:00
Mike
5a19abe48b
Remove comment exclusion in order notes meta box
2014-03-18 19:49:15 +02:00
Mike Jolley
7bce58e9a1
URL decode not needed for custom text attribute names Closes #5155
2014-03-18 11:36:38 +00:00
Mike Jolley
29da66f4e4
Merge pull request #5154 from monirulalom/patch-1
...
Update wc-core-functions.php file
2014-03-18 11:21:41 +00:00
Mike Jolley
9d1cb8316f
Correct property #5041
2014-03-18 11:18:35 +00:00
Mike Jolley
b366523c2c
Remove break #5041
2014-03-18 11:10:50 +00:00
Mike Jolley
251b8b411f
Clear object cache for orders + products #5041
2014-03-18 11:09:56 +00:00
monirulalom
7ea71912a0
Update wc-core-functions.php file
...
Update wc-core-functions.php file to add Bangladeshi currency and symbol.
2014-03-18 00:33:08 +06:00
Mike Jolley
95f4be04f9
Don't hide empty - do it at walker level to maintain correct counts and hierarchy Closes #5028
2014-03-17 16:52:24 +00:00
Mike Jolley
c4099ab136
Fix term count corrections when a count is 0 #5028
2014-03-17 16:52:06 +00:00
Mike Jolley
d9887bebbb
Hide empty at walker level #5028
2014-03-17 16:51:34 +00:00
Mike Jolley
8d33594e6a
Convert states to strings for PayPal Closes #5078
2014-03-17 15:23:11 +00:00
Mike Jolley
b47e73b5a6
Fix term recount during WP callbacks Closes #5133
2014-03-17 14:38:09 +00:00
Mike Jolley
b321d6297b
Use is_purchasable to determine if a variation cart button is needed, and potentially show empty_price_html Closes #5137
2014-03-17 12:12:10 +00:00
Mike Jolley
eaa2033570
Merge pull request #5097 from JustinSainton/patch-3
...
Filter JSON search customers query
2014-03-14 14:55:04 +00:00
Mike Jolley
7f417c0e8e
Fix sale flash for out of stock sale items Closes #5119
2014-03-14 13:41:25 +00:00
Mike Jolley
abfafa7ce3
Correct discount calculation in admin when fees are involved. Closes #5103
2014-03-14 13:20:59 +00:00
Mike Jolley
ad5f510979
Item meta list classes Closes #5083
2014-03-14 12:40:55 +00:00
Mike Jolley
cf50b4977d
Filter the filename Closes #5074
2014-03-14 10:04:41 +00:00
sparkweb
1280d6d6ff
Removing ordering code from orders
...
This code got moved to the resources file.
2014-03-13 11:14:08 -06:00
sparkweb
d40f773e77
REST API: allow ordering change
2014-03-13 11:08:36 -06:00
Mike Jolley
adc604e0e2
Move loop_end hook as it is generic and used in all WP loops
2014-03-13 13:07:47 +00:00
sparkweb
25900f9976
Allow reordering of the order list with the REST api
2014-03-12 23:47:42 -06:00
Mike Jolley
c27a5a3f4d
Merge pull request #5082 from crazyscience/patch-2
...
Fix for Issue #3367
2014-03-12 14:37:40 +00:00
Gerhard
37ed91cedf
Remove opening bracket from AED currency symbol
2014-03-12 15:50:51 +02:00
Mike Jolley
b160a00464
Pass args through for deprecated function Closes #5087
2014-03-12 14:38:03 +01:00
Mike Jolley
26b5ffa3d0
Only append generator tag on HTML pages Closes #5113
2014-03-12 14:38:03 +01:00
Mike Jolley
9a3b796bf4
Pass args through for deprecated function Closes #5087
2014-03-12 13:17:53 +00:00
Coen Jacobs
fa089f7c0d
Merge pull request #5077 from woothemes/transient-expiration
...
set_transient calls should have expiration to prevent autoloading
2014-03-12 13:02:42 +01:00
Coen Jacobs
3617316357
Updated expiry times for transients
2014-03-12 12:58:41 +01:00
Mike Jolley
49b8ad4378
Only append generator tag on HTML pages Closes #5113
2014-03-12 11:54:02 +00:00
Mike Jolley
8523fe8f34
Merge pull request #5114 from thenbrent/woocommerce_cart_totals_fee_html_filter
...
Add 'woocommerce_cart_totals_fee_html' filter
2014-03-12 11:35:43 +00:00
Mike Jolley
71bcef64a1
Merge pull request #5104 from InoPlugs/patch-2
...
Update class-wc-checkout.php
2014-03-12 11:34:29 +00:00
thenbrent
18efa7341a
Add 'woocommerce_cart_totals_fee_html' filter
2014-03-12 21:11:22 +10:00
InoPlugs Webdesign
a284d7fe69
Update class-wc-checkout.php
...
We need this hook to mark the fees our plugin (additional fee based on gateway) adds to the the order. Otherwise we can't tell if a fee was added by the user (Add fee button), by another plugin or by our plugin.
2014-03-11 19:48:51 +01:00
justinstern
6dfce64e47
Don't trailingslash Order Cancel URLs with a Query String
...
With non-pretty permalinks enabled, this was producing a URI like
http://example.com/?page_id=7/ That final unnecessary trailing slash
messes up some redirect gateways that are passed the cancel URL
2014-03-11 00:04:49 -04:00
Andrew Benbow
2f5fb72a9c
Update class-wc-gateway-paypal.php
...
modify currency error message to include both sent and returned currencies for comparison
2014-03-10 23:23:30 +00:00
JustinSainton
e91ca49b6d
Filter JSON search customers query
...
Because the json_search_customer_name action is in the scope of $this, and there's no instance of it to allow remove_action() to play nicely with, it's really difficult to modify this query. And, unfortunately, it's quite non-performant on large user tables.
One possible option would be to allow users to filter this query directly. This PR reflects that approach.
For reference: https://gist.github.com/curtismchale/9470986 , #5095
2014-03-10 14:54:27 -07:00
crazyscience
9898aee867
Fix for Issue #3367
...
Fixed a bug where the application attempts to schedule an event using a function name rather than a hook name
2014-03-07 11:17:11 -08:00
Coen Jacobs
03163c54b0
set_transient calls should have expiration to prevent autoloading
2014-03-07 09:29:01 +01:00
Mike Jolley
fbeb3bc822
Update LESS compiler and less files #5070
2014-03-06 17:29:52 +01:00
Mike Jolley
90914cc3c8
Update LESS compiler and less files #5070
2014-03-06 16:23:43 +00:00
splashingpixels
7a28434ab4
get_related fixed tags OR query not excluding product ID
2014-03-06 16:27:13 +01:00
Mike Jolley
a955a5ba5d
Fallback for add ons page loading
2014-03-06 16:26:47 +01:00
Mike Jolley
7aac055895
When getting downloadable files, check access_expires too Closes #5060
2014-03-06 16:26:47 +01:00
Mike Jolley
e2ea31fc94
pedantic nonce checking
2014-03-06 16:26:47 +01:00
Mike Jolley
d303e5d072
When dealing with fixed_product discounts, when doing it for the line, multiple by product qty Closes #5054
2014-03-06 16:26:47 +01:00
Mike Jolley
2c13c5c24e
Fix variation price display by checking if a variation is actually stock managed before comparing to stock amount Closes #5059
2014-03-06 16:26:47 +01:00
Mike Jolley
6e466d4fdb
Set default for $plain_text variable. Closes #5051
2014-03-06 16:26:47 +01:00
Mike Jolley
c3d5111c8d
Check existence of nonce Closes #5050
2014-03-06 16:26:47 +01:00
Mike Jolley
156098edb9
Fallback for add ons page loading
2014-03-06 15:25:05 +00:00
Mike Jolley
9068da2ece
When getting downloadable files, check access_expires too Closes #5060
2014-03-06 14:35:25 +00:00
Mike Jolley
88c666968e
Merge pull request #5043 from splashingpixels/related-products
...
get_related fixed tags OR query not excluding product ID
2014-03-06 13:26:26 +00:00
Mike Jolley
a553fd4956
pedantic nonce checking
2014-03-06 13:11:20 +00:00
Mike Jolley
24e884a480
When dealing with fixed_product discounts, when doing it for the line, multiple by product qty Closes #5054
2014-03-06 12:29:25 +00:00
Mike Jolley
ba466b3de9
Fix variation price display by checking if a variation is actually stock managed before comparing to stock amount Closes #5059
2014-03-06 12:07:28 +00:00
Mike Jolley
8971dc0d92
Set default for $plain_text variable. Closes #5051
2014-03-06 11:57:47 +00:00
Mike Jolley
d42bb7a285
Check existence of nonce Closes #5050
2014-03-06 11:37:48 +00:00
Gerhard
0463516020
Remove duplicate coupon type check
2014-03-06 10:08:27 +02:00
Gerhard
3b0c541acf
Send http status 201 when coupon created.
2014-03-06 09:59:28 +02:00
claudiosmweb
2adacc742a
fixed the status for create new customers via api
2014-03-06 04:28:42 -03:00
Gerhard
ae85e64b2b
Edit coupon, save product ID's in comma separates values as per core
2014-03-06 08:52:34 +02:00
Gerhard
518a8cffb2
Save product ID's as comma separated values like core does it
2014-03-06 08:51:00 +02:00
Gerhard
1b1c13349b
Do not url decode the body data, just add it. See https://oauth.googlecode.com/svn/spec/ext/body_hash/1.0/oauth-bodyhash.html
2014-03-06 08:42:05 +02:00
Gerhard
8e0a267a84
Remove implode function
2014-03-06 08:10:08 +02:00
Gerhard
d5171854a1
edit coupon, change comma separated data structures to arrays
2014-03-06 07:59:10 +02:00
Gerhard
6ddbc7e6ee
Change comma separate data to arrays
2014-03-06 07:55:49 +02:00
Gerhard
88d6e064fa
Add missing bracket
2014-03-06 07:50:05 +02:00
Gerhard
7e73f621c8
Add coupon type check when adding new coupon
2014-03-06 07:49:01 +02:00
Gerhard
d278896d31
Fix route comments, moved coupon code filter and remove wc_clean around it, check for valid coupon types.
2014-03-06 07:45:32 +02:00
claudiosmweb
e6755972b0
fixed the inline documentation
2014-03-05 14:24:47 -03:00
Mike Jolley
bfb32b9630
Suppress errors in download handler Closes #5042
2014-03-05 11:04:18 +01:00
Mike Jolley
fb20fc87b6
Use woocommerce_notify_no_stock_amount not 0, Closes #5035
2014-03-05 11:04:18 +01:00
Mike Jolley
914308765e
Recoded set_stock to only make a variable product out of stock if all variations are stock managed, to to resync prices after stock changes #5035
2014-03-05 11:04:18 +01:00
Mike Jolley
676a67bffb
Updated sync logic to exclude hidden and out of stock variations from the price display #5035
2014-03-05 11:04:18 +01:00
Mike Jolley
fa7629e8b8
Corrected the "Show Siblings and Children Only" queries Closes #5028
2014-03-05 11:04:18 +01:00
Patrick Rauland
b6d54a8ebe
returning false instead of array for countries without states
2014-03-05 11:04:18 +01:00
Mike Jolley
f44a4bc9d9
Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905
...
Conflicts:
includes/class-wc-form-handler.php
2014-03-05 11:04:14 +01:00
Mike Jolley
84a42f16cb
Add context to strings #4986
2014-03-05 11:02:53 +01:00
Mike Jolley
630eb61203
Later hook for template redirect and the_post Closes #4984
2014-03-05 11:02:53 +01:00
Mike Jolley
bb9299fa0c
Change the save order so email data is correct for manual orders Closes #4995
2014-03-05 11:02:53 +01:00
Mike Jolley
bf8f45fbc9
Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014
2014-03-05 11:02:53 +01:00
Mike Jolley
e81c018e60
wc_get_endpoint_url - added support for permalinks containing a query string Closes #5016
2014-03-05 10:58:36 +01:00
splashingpixels
5d96b666f1
shop order - fixes non object error on comments when order is in the trash
2014-03-05 10:58:36 +01:00
splashingpixels
8b8fe715b6
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-03-05 10:58:36 +01:00
claudiosmweb
0b08814227
improved the bacs email instructions
...
Conflicts:
includes/gateways/bacs/class-wc-gateway-bacs.php
2014-03-05 10:58:30 +01:00
claudiosmweb
1aa9840856
forced end of line in bank_details method to fix the #4999
...
Conflicts:
includes/gateways/bacs/class-wc-gateway-bacs.php
2014-03-05 10:57:55 +01:00
Patrick Rauland
74755555f5
adding plain text email flag to cheque
2014-03-05 10:57:02 +01:00
Patrick Rauland
d3476b8669
adding plain text email flag to bacs
2014-03-05 10:57:02 +01:00
Patrick Rauland
afc1c1e566
adding wordpress php formatting"
2014-03-05 10:57:02 +01:00
Mike Jolley
10190ab177
Ensure attributes exist
2014-03-05 10:57:02 +01:00
Mike Jolley
f683c29e66
Fix category widget ordering Closes #4971
2014-03-05 10:57:02 +01:00
Mike Jolley
508854effe
Fix reports by using strings - int's have a max. Closes #4904
2014-03-05 10:56:23 +01:00
Mike Jolley
f1189f5aac
Only show the relevant updates in the notices Closes #4977
2014-03-05 10:56:23 +01:00
Mike Jolley
5448e1bedc
Fix strict standards Closes #4980
2014-03-05 10:56:23 +01:00
Mike Jolley
624df4ea14
Suppress errors in download handler Closes #5042
2014-03-05 09:30:12 +00:00
Gerhard
8fdfbdf3ba
Add missing wpdb global
2014-03-05 09:42:12 +02:00
Gerhard
3bdf3e50cf
Add check for duplicate coupon code when updating coupon code
2014-03-05 09:34:01 +02:00
Gerhard
86ac5de9cf
Add filter to coupon code
2014-03-05 09:30:11 +02:00
Gerhard
db2de990e7
Modify duplicate coupon error code
2014-03-05 09:28:59 +02:00
Gerhard
f2f7e09143
Change duplicate coupon error code
2014-03-05 09:28:03 +02:00
Gerhard
826085698b
Validate coupon types
2014-03-05 09:25:11 +02:00
Gerhard
7dc7353e60
Coding standards & cleaning of data before saving
2014-03-05 08:07:42 +02:00
Gerhard
268ef2faab
Check if coupon was updated when using wp_update_post and return error if not
2014-03-05 08:03:10 +02:00
Gerhard
a2ecd3885c
edit_coupon REST API look for type and not discount_type
2014-03-05 07:59:27 +02:00
Gerhard
fa6eb98535
Rest API edit_coupon function
2014-03-05 07:43:13 +02:00
Gerhard
42d42ae751
REST API create_coupons function
2014-03-05 07:28:05 +02:00
claudiosmweb
344a0d92c6
improved the validation for WC_API_Customers::edit_customer() and WC_API_Customers::delete_customer()
2014-03-04 23:42:36 -03:00
claudiosmweb
f2d8912bc1
fixed coding standards in includes/api/class-wc-api-customers.php
2014-03-04 22:48:54 -03:00
splashingpixels
b279487535
get_related fixed tags OR query not excluding product ID
2014-03-04 16:19:12 -08:00
claudiosmweb
3b4b73851b
added missing textdomain
2014-03-04 18:05:55 -03:00
claudiosmweb
41a5b147e9
improved the WP_Error's ids in customers api
2014-03-04 18:05:22 -03:00
Gerhard
a53b93283c
Fix create coupon api method
2014-03-04 17:05:38 +02:00
Mike Jolley
e557ff5aec
Use woocommerce_notify_no_stock_amount not 0, Closes #5035
2014-03-04 14:46:17 +00:00
Mike Jolley
5c75f8a20e
Recoded set_stock to only make a variable product out of stock if all variations are stock managed, to to resync prices after stock changes #5035
2014-03-04 14:45:27 +00:00
Mike Jolley
decfca94a4
Updated sync logic to exclude hidden and out of stock variations from the price display #5035
2014-03-04 14:44:24 +00:00
Gerhard
38f701e90a
Better coupon create error messages
2014-03-04 15:50:31 +02:00
Gerhard
70fb3c004d
Create coupons via API
2014-03-04 15:44:33 +02:00
Mike Jolley
56c1ce4bd9
Merge pull request #5031 from BFTrick/uk-counties
...
Returning False Instead of Empty Array for Countries Without States
2014-03-04 11:49:34 +00:00
Mike Jolley
e0b11c8c2e
Corrected the "Show Siblings and Children Only" queries Closes #5028
2014-03-04 11:47:17 +00:00
claudiosmweb
ee907b0c20
removed sanitize_text_field() function in favor to wc_clean() function in customers api
2014-03-04 02:48:17 -03:00
claudiosmweb
68b8c9f020
improved the customer api creation/edition
2014-03-03 23:01:07 -03:00
claudiosmweb
4204a86022
added method do delete customers via api
2014-03-03 22:16:54 -03:00
claudiosmweb
6c4f82665e
added the woocommerce_api_edit_customer action in WC_API_Customers::edit_customer()
2014-03-03 22:09:50 -03:00
claudiosmweb
906273c20b
added the woocommerce_api_create_customer action in WC_API_Customers::create_customer()
2014-03-03 22:09:05 -03:00
claudiosmweb
f54909f715
added method to edit customer via api
2014-03-03 22:07:28 -03:00
claudiosmweb
5b95346825
fixed the customer creation via api
2014-03-03 21:41:53 -03:00
claudiosmweb
371665cd79
added route to create customers via api
2014-03-03 21:13:44 -03:00
claudiosmweb
14b63541a3
Added the WC_API_Server::urldecode_deep() method
...
To make it possible to get a more complex data structure.
Example:
array( 'data' => array( 'key' => 'value' ), 'data2' => array( 'key' => 'value' ) )
2014-03-03 21:09:11 -03:00
claudiosmweb
584bfda988
added method to create users with the api
2014-03-03 21:04:40 -03:00
Patrick Rauland
f78482dd6e
returning false instead of array for countries without states
2014-03-03 16:04:00 -08:00
Mike Jolley
48ebfae145
Made woocommerce_update_cart_action_cart_updated a filter which can return true or false to recalc totals Closes #4905
2014-03-03 15:15:32 +00:00
Mike Jolley
31ee45cf5c
Add context to strings #4986
2014-03-03 14:47:19 +00:00
Mike Jolley
d9c10aae62
Later hook for template redirect and the_post Closes #4984
2014-03-03 13:37:45 +00:00
Mike Jolley
30eee00c1b
Change the save order so email data is correct for manual orders Closes #4995
2014-03-03 13:27:20 +00:00
Mike Jolley
1c0e55c685
Correctly recompile scripts on update. Frontend css option no longer exists Closes #5014
2014-03-03 12:19:29 +00:00
Mike Jolley
47d1782b7e
Resolve conflicts
2014-03-03 11:59:47 +00:00
Mike Jolley
74e7829e02
wc_get_endpoint_url - added support for permalinks containing a query string Closes #5016
2014-03-03 11:54:53 +00:00
Mike Jolley
c6e63c663b
Merge pull request #4998 from BFTrick/plain-text-flag
...
Add Plain Text Flag Gateways
2014-03-03 10:53:53 +00:00
Mike Jolley
f2daf7aeec
Merge pull request #4997 from BFTrick/wp-bacs-formatting
...
Use WordPress Brace Code Style in BACS Gateway Class
2014-03-03 10:53:04 +00:00
Mike Jolley
ab3ebfd818
Merge pull request #5003 from splashingpixels/coupon
...
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-03-03 10:52:28 +00:00
splashingpixels
d357154d2f
shop order - fixes non object error on comments when order is in the trash
2014-02-28 22:08:42 -08:00
splashingpixels
5cfa0306f4
wc_get_product_ids_on_sale should never return post id of 0 fixes #5002
2014-02-28 20:37:58 -08:00
claudiosmweb
5c540930c9
improved the bacs email instructions
2014-02-28 20:35:40 -03:00
claudiosmweb
08ae8d5416
forced end of line in bank_details method to fix the #4999
2014-02-28 20:31:53 -03:00
Patrick Rauland
a76714c0e9
adding plain text email flag to cheque
2014-02-28 16:13:13 -06:00
Patrick Rauland
694c6bb5ef
adding plain text email flag to bacs
2014-02-28 16:11:57 -06:00
Patrick Rauland
b274171f8c
adding wordpress php formatting"
2014-02-28 16:05:43 -06:00
Rob Davarnia
368bd05677
Update class-wc-shortcodes.php
2014-02-28 13:50:50 -08:00
Rob Davarnia
e7ca60b2a2
Ability to add custom quantity using shortcode
2014-02-28 13:43:31 -08:00
Mike Jolley
6fcdccd73b
Ensure attributes exist
2014-02-28 15:42:16 +00:00
Mike Jolley
3398941f3f
Fix category widget ordering Closes #4971
2014-02-28 15:27:20 +00:00
Mike Jolley
6a0dc3142f
Fix reports by using strings - int's have a max. Closes #4904
2014-02-28 14:51:37 +00:00
Mike Jolley
3492be6df0
Only show the relevant updates in the notices Closes #4977
2014-02-28 13:42:48 +00:00
Mike Jolley
e0b042a8d4
Fix strict standards Closes #4980
2014-02-28 10:54:34 +00:00
Mike Jolley
2727b62dec
Fix after tax coupon amounts
2014-02-27 15:53:36 +01:00
Mike Jolley
13add49e42
Hide shipping class if variation is virtual Closes #4972
2014-02-27 15:48:39 +01:00
Coen Jacobs
5ddba16f7f
Fixing the typo fix :)
2014-02-27 15:48:02 +01:00
tamarazuk
6fe0b461d0
Add Canadian address format
...
.. as per Canada Post's addressing guidelines: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1413985
2014-02-27 15:47:43 +01:00
JustinSainton
415dadc59e
Copypasta fix in docs.
2014-02-27 15:47:15 +01:00
Mike Jolley
8842f25b0e
round mijireh shipping amount
2014-02-27 15:46:51 +01:00
Mike Jolley
967aba149c
wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875
2014-02-27 15:46:23 +01:00
Mike Jolley
4685753e27
Prevent short codes running with no cart class loaded. Closes #4962
2014-02-27 15:46:11 +01:00
Mike Jolley
6e00477fd6
Tweak where message is added during reset to avoid needing a session Closes #4908
2014-02-27 15:45:47 +01:00
Mike Jolley
389bf99dad
Filters to restrict granting/revoking access to files Closes #4952
2014-02-27 15:45:18 +01:00
Mike Jolley
281c010af3
Changed braces and moved filter #4933
2014-02-27 15:44:25 +01:00
Gerhard
46a78e6936
Coding standards, mostly braces
2014-02-27 15:44:09 +01:00
Gerhard
5f3f7e5bb1
Drop guest checkout test and only check if order is for guest
2014-02-27 15:43:59 +01:00
Mike Jolley
c3bc0e61a7
Fix products_will_display logic
2014-02-27 15:43:07 +01:00
Gerhard
0b3d21c104
Should check for yes if guest checkout is enabled
2014-02-27 15:42:43 +01:00
Gerhard
2920fe0354
Move guest check to wc_customer_has_capability
2014-02-27 15:42:35 +01:00
Gerhard
bf3e5944d2
Update error message, making it clear to log in and try again.
2014-02-27 15:42:25 +01:00
Gerhard
ca3b143b36
Disable order owner check for payment if guest checkout is enabled as per #4957
2014-02-27 15:41:53 +01:00
lekiend
17cc7d7c1a
Update html-admin-page-status-report.php
...
Status report shows update also if update version is lower than current version.
It should show updates only for version number greather than current version
2014-02-27 15:41:43 +01:00
Gerhard
2fa9c2488e
Add permalinks_enabled data to API index
2014-02-27 15:41:23 +01:00
splashingpixels
39e5b81321
get related products added DISTINCT to prevent querying duplicates
2014-02-27 15:41:06 +01:00
Mike Jolley
6c337f122c
Ensure product exists before getting title. Closes #4916
2014-02-27 15:40:39 +01:00
Mike Jolley
0411d1f9df
Combine two meta queries into one #4901
2014-02-27 15:40:07 +01:00
Andrew Benbow
fc749a79fa
Update class-wc-tax.php
...
Compound tax rate calculation is wildly off.
Current tax settings : http://cld.wthms.co/Qeb6
Cart before proposed change : http://cld.wthms.co/ILXk
Cart after proposed change : http://cld.wthms.co/fjWO
2014-02-27 15:39:55 +01:00
Mike Jolley
c799aa1c57
Username from email hook Closes #4941
2014-02-27 15:39:05 +01:00
Gerhard
a8f4aaa677
Add filenames to Downloads section in My Account
2014-02-27 15:38:37 +01:00
Daniel Espinoza
4907e1d02d
Allow showing of empty categories using 'hide_empty' param of get_categories()
2014-02-27 15:33:26 +01:00
Patrick Rauland
1261e48bcc
commenting regex in flat rate shipping
2014-02-27 15:33:13 +01:00
Patrick Rauland
df72ff6fe7
using wordpress brace code style in flat rate shipping
2014-02-27 15:32:58 +01:00
Mike Jolley
500ce37c63
Fix variation level reporting Closes #4885
2014-02-27 15:32:47 +01:00
Mike Jolley
a0ffae78df
Layered nag - remember orderby #4889
2014-02-27 15:32:19 +01:00
Mike Jolley
17d03be635
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-27 15:31:53 +01:00
Mike Jolley
b3d4019ea0
Workaround relevanssi Closes #4873
2014-02-27 15:31:31 +01:00
Mike Jolley
5f3ce265ac
For custom attributes, try to turn back to 'name' from saved slug in emails/view order templates Closes #4833
2014-02-27 15:31:31 +01:00
Mike Jolley
3081c8812a
Limit item name lengths Closes #4922
2014-02-27 15:31:30 +01:00
Paul van der Meijs
093fce6238
Prevent ambiguous column error
2014-02-27 15:30:34 +01:00
Mike Jolley
cb4031f0c3
cancel_order - take no action if already cancelled.
2014-02-27 15:30:18 +01:00
Chuck Mac
10d2f9e22f
Passing post_id to the coupon save action
...
Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
2014-02-27 15:30:18 +01:00
Mike Jolley
c0ee22971d
remove un-wanted hentry from products Closes #4880
2014-02-27 15:29:49 +01:00
splashingpixels
a653bfa64b
layer nav using list OR was not displaying any terms fixes #4911
2014-02-27 15:29:21 +01:00
Justin Hill
1386625dae
Update abstract-wc-product.php
...
Add filter to is_taxable() method so that plugins can better control what is and isn't taxable based on various conditions, such as customer's billing or shipping address, etc.
2014-02-27 15:29:21 +01:00
Mike Jolley
4b38c58c9b
Transifex links
2014-02-27 15:25:32 +01:00
Mike Jolley
4a4680d9d5
wc_cart_totals_coupon_label function and filter to override coupon labels
2014-02-27 15:25:19 +01:00
Mike Jolley
d57989ca62
Use get_col for sku search - return multiple results.
2014-02-27 15:24:39 +01:00
JustinSainton
fee1bc5200
capital_p_dangit()
2014-02-27 15:24:32 +01:00
Mike Jolley
ceacbb31bd
Fix display of fee_taxes when spanning multiple tax classes Closes #4803
2014-02-27 15:24:26 +01:00
Mike Jolley
a215a94f5d
Rounding order_tax and order_shipping_tax restricts our ability to get an accurate tax_total after an order is made. Fixes some paypal rounding requests.
...
@coenjacobs
2014-02-27 15:23:21 +01:00
Mike Jolley
465b9b9d5f
Only show settings link if method has_settings
2014-02-27 15:23:10 +01:00
Mike Jolley
f42d1a1e6f
Correctly join post meta to fix order searches Closes #4855
2014-02-27 15:22:37 +01:00
Scott Basgaard
c2e76851b2
Code clean up. Various undefined variables / notices.
2014-02-27 15:21:29 +01:00
Scott Basgaard
b1b93838c3
Use 'include' parameter to show siblings/children of current category. Fixes #891
2014-02-27 15:21:29 +01:00
Mike Jolley
61214a7eef
Sanitize screen id. Closes #4788
2014-02-27 15:21:09 +01:00
Mike Jolley
43d87e724e
Run array_unique on results of order search Closes #4855
2014-02-27 15:20:36 +01:00
Mike Jolley
f001d32bcd
Use md5 hash for transient names so that the lengths are valid. Closes #4851
2014-02-27 15:18:40 +01:00
Mike Jolley
2e8c2e7396
Fix after tax coupon amounts
2014-02-27 14:14:17 +00:00
Mike Jolley
439b982b48
Merge pull request #4954 from kloon/tweak_rest_api_index_pretty_permalinks
...
Add permalinks_enabled data to API index
2014-02-27 12:03:19 +00:00
Mike Jolley
5ae6dd056b
Hide shipping class if variation is virtual Closes #4972
2014-02-27 11:53:46 +00:00
Coen Jacobs
a891fb82d4
Fixing the typo fix :)
2014-02-27 12:33:00 +01:00
tamarazuk
510e46963a
Add Canadian address format
...
.. as per Canada Post's addressing guidelines: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1413985
2014-02-26 15:50:58 -05:00
JustinSainton
9b0ddb2bd3
Copypasta fix in docs.
2014-02-26 10:42:35 -08:00
Mike Jolley
d8f504849f
round mijireh shipping amount
2014-02-26 15:53:32 +00:00
Mike Jolley
41183d1663
wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875
2014-02-26 15:43:19 +00:00
Mike Jolley
215011aa1f
Prevent short codes running with no cart class loaded. Closes #4962
2014-02-26 15:27:26 +00:00
Mike Jolley
b06e0bb19e
Tweak where message is added during reset to avoid needing a session Closes #4908
2014-02-26 13:13:53 +00:00
Mike Jolley
1f3d2632ed
Filters to restrict granting/revoking access to files Closes #4952
2014-02-26 12:35:11 +00:00
Mike Jolley
4c5f1952c7
If the cart is updated only, trigger action and recalc totals Closes #4905
2014-02-26 12:14:50 +00:00
Mike Jolley
a0635c270b
Changed braces and moved filter #4933
2014-02-26 12:02:14 +00:00
Mike Jolley
173e3accd8
Merge pull request #4933 from growdev/master
...
Allow empty categories to show
2014-02-26 12:00:26 +00:00
Mike Jolley
94992cea38
Merge pull request #4961 from kloon/tweak_download_handler_coding_stardards
...
download_handler Coding standards, mostly braces
2014-02-26 11:57:06 +00:00
Gerhard
ab5d86097b
Coding standards, mostly braces
2014-02-26 13:54:16 +02:00
Mike Jolley
f79c7bed23
Merge pull request #4960 from kloon/tweak_guest_checkout_pay_link
...
Disable order owner check for payment link if guest checkout enabled
2014-02-26 11:48:42 +00:00
Gerhard
55a656715d
Drop guest checkout test and only check if order is for guest
2014-02-26 13:46:02 +02:00
Mike Jolley
5620020f6c
Fix products_will_display logic
2014-02-26 11:43:38 +00:00
Gerhard
5475192dad
Should check for yes if guest checkout is enabled
2014-02-26 13:30:08 +02:00
Gerhard
f64bc075a7
Move guest check to wc_customer_has_capability
2014-02-26 13:25:32 +02:00
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