Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
shivapoudel
e53539f447
Indentation and new lines fix for includes/shortcodes :)
2014-09-21 01:18:32 +05:45
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Coen Jacobs
89ea6c46ab
Replace new WC_Order calls with get_order
2014-06-13 15:24:51 +02:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
309f700283
has_status
2014-06-03 10:45:33 +01:00
Mike Jolley
e0a74fffc4
implement is_status()
2014-05-30 17:43:21 +01:00
Mike Jolley
215011aa1f
Prevent short codes running with no cart class loaded. Closes #4962
2014-02-26 15:27:26 +00:00
Gerhard
f64bc075a7
Move guest check to wc_customer_has_capability
2014-02-26 13:25:32 +02: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
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
Mike Jolley
6db8ac6f6f
Made error counts work with new notices api Closes #4201
2013-11-27 16:15:53 +00: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
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
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
thenbrent
2fcd615f88
Update calls to wc_print_messages() function
...
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent
e14e3842b0
Update calls to wc_error_count() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
fe44f020e3
Update calls to wc_add_message() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent
0d45e19fcf
Update calls to wc_add_error() function
...
Part of #4034
2013-11-12 20:59:39 -08:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00:00
Mike Jolley
fce70b288d
We should allow failed orders to be resumed, not show a blank page. Closes #3612
...
@coenjacobs might need to go in 15
2013-09-26 17:18:12 +01:00
Illimar Tambek
7ec8a687f6
Check if user is allowed to cancel and order an order again. Use current_user_can() checks instead of hardcoded user_id comparisons to determine if user can view, pay, order again or cancel an order.
2013-09-06 17:39:45 +03:00
Coen Jacobs
62a9200386
Made methods static that were referenced from static
2013-08-15 11:23:52 +02:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00
Mike Jolley
b01bf72bfe
Improve messages. Closes #3370 .
2013-07-19 13:30:27 +01:00
Mike Jolley
646a8a008c
Make use of new functions
2013-06-11 15:59:54 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00