[wp-hackers] BugTraq post

Ryan Boren ryan at boren.nu
Tue Dec 18 23:27:08 GMT 2007


On 12/18/07, Austin Matzko <if.website at gmail.com> wrote:
> On Dec 18, 2007 5:59 PM, Ryan Boren <ryan at boren.nu> wrote:
> > Maybe is_admin() should check if is_user_logged_in().  Only logged in
> > users should be in the admin.
>
> How about instead setting a constant, say "WP_ADMIN," to true in
> admin.php right before requiring wp-config.php?

Nah, too easy. :-)


More information about the wp-hackers mailing list