Remote login with only the username not working
I’m writing a module for remote login into another WP site via my plugin’s admin. This is the code I’m using on the sender side: <?php add_action(‘init’, ‘connect’); function connect() { //I submit the username via a form in my plugin admin page if(isset($_POST[‘username’]) && $_POST[‘username’] != ”) { $name = $_POST[‘username’]; $response = wp_remote_post( … Read more