Commit Graph

21 Commits

Author SHA1 Message Date
splashingpixels ff5384714f myaccount registration added check for auto generate password option 2014-04-01 19:45:25 -07:00
Gerhard 55a656715d Drop guest checkout test and only check if order is for guest 2014-02-26 13:46:02 +02: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 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
claudiosmweb 2b3ce42284 fixed some coding standards in includes/wc-customer-functions.php 2014-02-11 17:57:15 -02: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
toddlahman 6456b8d299 fix register nonce and register catch errors 2014-01-03 03:06:28 -08:00
Illimar Tambek b22adaebfc Fix: customer should be able to pay for a new order 2013-11-28 17:22:05 +02:00
Gregory K dd5a2fb334 PhpDocs 2013-11-27 13:20:31 -05:00
Coen Jacobs 1663eafb68 Customer functions woocommerce to wc refactor 2013-11-25 13:52:53 +01:00
Mike Jolley 19fcf30a66 Option to limit reviews to purchasers. Closes #4021 2013-10-31 17:37:36 +00:00
Illimar Tambek 8e942c2e9e Fix missing semicolon 2013-09-06 22:06:26 +03:00
Illimar Tambek 3c22c486f8 Add download_file capability and security check 2013-09-06 19:38:06 +03:00
Illimar Tambek 0a7137e747 Use default priority for user_has_cap filter 2013-09-06 17:53:25 +03:00
Illimar Tambek e432f72ae9 Filter user_has_cap with woocommerce_customer_has_capability 2013-09-06 17:37:38 +03:00
Mike Jolley e1631bd084 Reloads checkout after registration which fixes #3612, removes some notices preventing login cookie being set, moves cart check for #3162
No perfect solution for #3162. DB locking would probably cause more
issues that its worth, we cannot reliably use transactions as some
clients still use MyIsam. Best to accept orders and deal with stock
conflicts after the fact.
2013-09-04 11:26:19 +01:00
Mike Jolley 57157db9bf Function refactoring. 2013-08-09 17:11:21 +01:00