[wp-hackers] is_admin?

Kaf Oseo kaf at szub.net
Sun Dec 4 05:39:02 GMT 2005


Ok, this *sort of* answers it:

http://trac.wordpress.org/ticket/1741

Just not completely. What do I need to set it off in a plugin?

Kaf Oseo wrote:
> Is it just me or does the is_admin conditional not work? I've been
> testing a plugin on both Apache and IIS, WP 1.5.2 and 2.0 beta, and
> a simple
> 
> if(!is_admin())
> 
> is always true, even on admin pages.


More information about the wp-hackers mailing list