[wp-trac] [WordPress Trac] #16490: Rename is_x_admin() functions to in_x_admin()
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 8 17:29:46 UTC 2011
#16490: Rename is_x_admin() functions to in_x_admin()
---------------------------------+-----------------------------
Reporter: apeatling | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch 3.2-early |
---------------------------------+-----------------------------
Comment (by apeatling):
If we're deprecating the functions anyway this can definitely wait.
Although on the flip side it will expose functions that are possibly
already deprecated to a significantly greater number of developers.
I'm not sure about `is_admin( $where )` though. It doesn't fix the problem
for me: `if ( is_admin( 'user' ) ) {}` is just as confusing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16490#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list