/ Published in: JavaScript

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).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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');
Comments
