Return to Snippet

Revision: 56078
at March 8, 2012 02:42 by jcottrell


Initial Code
function adder(uname) {
    jQuery('#user_login').val(uname);
    jQuery('#email').val(uname+'@gmail.com');
    jQuery('#role').val('editor');
    jQuery('#noconfirmation').attr('checked',true);
    jQuery('#createuser').submit();
}
adder('newGuy');

Initial URL

                                

Initial Description
From the Wordpress 3 Create New User page, use this code in browser dev tools to create new users (all having the same email ending).

Initial Title
Wordpress 3 Create User Quickly

Initial Tags

                                

Initial Language
JavaScript