[wp-hackers] Partial admin capabilities

Andrew Nacin wp at andrewnacin.com
Wed Jul 28 18:10:44 UTC 2010


On Wed, Jul 28, 2010 at 2:06 PM, Ryan Bilesky <rbilesky at gmail.com> wrote:

> That helped.  I think I have it, tell me what you think:
>
> http://pastebin.com/zHMjpYv3


You can stack case statements. Will save you quite a bit of code there.
http://us2.php.net/manual/en/control-structures.switch.php


More information about the wp-hackers mailing list