I am working on making my plugin, Cricket Moods, WPMU compatible.
Posters can create a list of moods to choose from when posting. Each mood can have an image associated with it. The plugin has an option to set what directory the images reside in. I felt that it would be appropriate to prevent blog owners (other than the site admin) from changing the image directory on their blog. The site admin can change the directory used for all the blogs on the MU installation. Each blog owner can see that list of images when modifying their moods. Does this sound like a desirable and reasonable behavior?
I'm assuming that the site admin always owns blog number one. Are there any WPMU-specific capabilities, like manage_blogs
, I can check with current_user_can()
, rather than checking for blog ID 1? This is to determine who can change the image directory.
Thanks in advance for any advice or information.