Send along login credentials with comment content
You can log a user in securely by simply calling wp_signon with the proper credentials. This has to be done before any output is produced, so that WP can set the users cookie properly. Example: $user = wp_signon(array(‘user_login’=>’example’, ‘user_password’ = > ‘swordfish’)); That will do a proper login from the front end of the site, … Read more