[wp-trac] [WordPress Trac] #7752: is_admin() false inside admin-ajax.php

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 16 09:29:50 GMT 2008


#7752: is_admin() false inside admin-ajax.php
----------------------------+-----------------------------------------------
 Reporter:  Malaiac         |       Owner:  anonymous 
     Type:  defect          |      Status:  new       
 Priority:  normal          |   Milestone:            
Component:  Administration  |     Version:  2.6.1     
 Severity:  minor           |    Keywords:  admin ajax
----------------------------+-----------------------------------------------
 tested :
 {{{
 // admin-ajax.php, start of file (after require_once)
 if(is_admin()) echo 'is _admin';
 }}}
 won't work.

 May harm some conditional dependencies, or plugin queries.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7752>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list