mpesenti
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] snippet for checkout semplificationHi @nixiack8,
thank you for your replays, at the moment I’m still looking for a solution, I’m not sure but the problem seams related to a possible recent introduction of ajax submission method for the checkout form, so my script is not considered from the service destination of my request because it’s just added to the checkout page.
I’d like to collect suggestions a little more so I’ll be glad if you will let this thread open, I’ll be happy to post here the solution whenever I’ll find it.
Cheers!Ok actually it seams the correct solution: https://github.com/WordPress/WordPress/blob/master/wp-includes/user.php#L114
🙂
Deeply reading the traceback I noticed the point #3.
#3 /web/htdocs/www.colouree.com/home/wp-content/plugins/wp-cassify/classes/wp_cassify_utils.php(227): do_action(‘wp_login’, ‘[email protected]…’)
Actually in line 227 of file wp_cassify_utils.php the function wp_login is called with just one parameter (maybe in respect of an old function signature). Should be a solution to call do_action(‘wb_login’, …) passing an array as second parameter with the first element equal to $user->$user_login and the second equal to $user?