#7752 closed defect (bug) (fixed)
is_admin() false inside admin-ajax.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | minor | Version: | 2.6.1 |
Component: | Administration | Keywords: | admin ajax |
Focuses: | Cc: |
Description
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.
Change History (5)
Note: See
TracTickets for help on using
tickets.
results in 'boolean true' for me under 2.7, I dont have a 2.6.x checkout to test on though.