Commit Graph

64 Commits

Author SHA1 Message Date
Florian Ludwig 5cffd789a4 Removed unused variable 2015-09-08 00:08:40 +02:00
Florian Ludwig 9966f6b0a4 Fixed issue where space before or after mail led to "Invalid e-mail" error 2015-09-08 00:08:32 +02:00
Claudio Sanches 9e41552342 Removed all "@return void" 2015-07-16 16:55:48 -03:00
Ben Bidner 32e37b57d0 fixes too many arguments in function or method call: WC_Shortcode_My_Account::add_payment_method($wp->query_vars['add-payment-method']) 2015-06-01 12:52:10 +01:00
Ninos Ego 4bdaff52cb Remove unnecessary global variable
`$post` is not needed there.
2015-04-27 18:41:15 +02:00
Mike Jolley e307786f5e Merge pull request #7438 from paulwilde/upstream
Introduce wc_get_page_permalink
2015-02-16 11:13:02 +00:00
Paul Wilde c913316f8b Introduce wc_get_page_permalink. 2015-02-15 19:13:22 +00:00
Dean Taylor 1b38e46fd5 Fix deprecated notice for WP_User->id usage
Fix E_USER_NOTICE WP_User->id was called with an argument that is deprecated since version 2.1! Use WP_User->ID instead
2015-02-15 19:02:27 +00:00
Mike Jolley ee8b3f22c3 Return WP_USER from check_password_reset_key
Closes #7134
2015-01-19 10:53:33 +00:00
Mike Jolley d663a7a72e If using multisite, check user resetting password belongs to the current site
Closes #6725
2015-01-06 14:08:43 +00:00
Claudio Sanches 481aee3969 Fixed dead variable in my account shortcode class 2014-12-16 10:10:25 -02:00
Gregory Karpinsky 1f7eb3e595 Update class-wc-shortcode-my-account.php
Return if no data submitted. Otherwise, two PHP notices are issued on checking `! $user_data` and two `wc_add_notice` printed.
2014-11-06 23:08:48 -05:00
claudiosmweb db8a07a8b8 removed "or" in favor to "||" 2014-09-15 10:57:46 -03:00
Mike Jolley 857f85fd8e Merge pull request #6242 from chrisnharvey/patch-1
Fixing typo with get_error_message being referenced as a property
2014-09-12 14:20:36 +01:00
Mike Jolley 59ef851302 Readme for #6243 2014-09-12 14:18:11 +01:00
Chris Harvey 4d72eedae2 Checking password reset key using phpass 2014-09-12 14:03:39 +01:00
Chris Harvey 4a8ad5f09d Fixing typo with get_error_message being referenced as a property 2014-09-12 13:36:17 +01:00
Mike Jolley c6fe731337 Fix password reset
Fixes #6049
2014-08-19 10:43:51 +01:00
Barry Kooij 6655188f0b Changed use of get_order with wc_get_order 2014-08-15 14:29:21 +02:00
Gerhard 4f011ae6a9 Lost password, lookup username first before email.
Customer use emails as usernames so need to lookup based on username first for instances where this apply.
2014-08-08 08:07:11 +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 e0a74fffc4 implement is_status() 2014-05-30 17:43:21 +01:00
claudiosmweb 79a8986f06 added the possibility to translate the edit-address endpoint slugs, closes #4820 2014-04-24 18:18:41 -03:00
Mike Jolley c24ca386cc Template cleanup 2014-04-23 11:37:05 +01: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 3d4f16a7a4 Username from email hook Closes #4941 2014-02-25 11:40:54 +00:00
Mike Jolley c0c21c8364 Unify textdomains Closes #4814 2014-02-17 13:14:45 +00:00
Mike Jolley 0ddff220d5 Make my-account/view-order use the template file 2014-02-17 09:44:45 +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 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 ee6c7c6d4c wc_print_notices Closes #4431 2013-12-30 14:29:13 +00: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
Mike Jolley c916b51ef7 Country select for edit address Closes #4396 2013-12-27 12:20:51 +00:00
James Koster dbf1b15001 replace a few missed →'s. closes #4350 2013-12-12 13:42:29 +00:00
Mike Jolley 6db8ac6f6f Made error counts work with new notices api Closes #4201 2013-11-27 16:15:53 +00:00
Mike Jolley 2bd40b29b2 Humanize order number/status string Closes #4225 2013-11-27 15:53:57 +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 aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
toddlahman 10273973d8 Methods called statically set to static 2013-11-19 08:26: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 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
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
Brent Shepherd 3e08e29f9e Use new notice API for "Add a Pay Method" notice
Part of #3396
2013-11-05 16:17:51 -08:00