I tried using this, but couldn’t get it to work. I did however manage to get the class on the following page to function just fine … http://wordpress.stackexchange.com/questions/4479/editor-can-create-any-new-user-except-administrator
Have you considered turning this into a plugin?
If not, would you mind if I turned it into a plugin myself and released it on the repo.? We have a use for this functionality at my work and figured it would be easiest for our team members to implement if it was packaged up as a plugin.
I hadn’t really thought about turning it into a plugin. It seemed too much like a snippet to me, and I always imagined it to be more of a mu-plugins type plugin anyway.
If you want to release it as a plugin, though, that’s fine by me. GPL is GPL.
There was no mention of GPL on it, hence I thought I’d better ask first 🙂
I may or may not implement it as a plugin. It’ll depend on how much time I find spare to do it. At the moment I’ve just got it dumped into a theme file for my current project, but I think we’ll making use of this quite a lot from now on.
That’s a good point…
I’ll have to clarify that code of mine should be understood to be GPLv2, unless otherwise explicitly stated…
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email.
Notify me of new posts by email.