Commit Graph

18 Commits

Author SHA1 Message Date
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
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
Gregory K afabced6c7 wc_create_new_customer phpdoc fix 2014-02-11 20:52:10 +01: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