WordPress plugin: New blog default user role

Having had my first play with WordPress MU, I couldn’t quite believe that the role a user gets when they sign up for a new blog (‘administrator’) was hardcoded into the core and so there was no way to change it. So I’ve done a plugin to change their role to whatever role the admin has set as the default.

This is my first released plugin and I’m learning the (many) functions WordPress has to use so all feedback and advice is welcome.

Note that this plugin need to go into the plugins-mu directory or it won’t work.

Download here