[wp-trac] [WordPress Trac] #16490: Rename is_x_admin() functions to in_x_admin()
WordPress Trac
noreply at wordpress.org
Wed Jan 16 18:54:31 UTC 2013
#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 close |
-----------------------------+-----------------------------
Changes (by bpetty):
* cc: bpetty (added)
* keywords: has-patch 3.2-early => has-patch close
Comment:
Replying to [comment:15 apeatling]:
> +1 for `in_admin( $where )`.
If you prefer this style, you can actually now use
`$current_screen->in_admin($where)` as `WP_Screen` was changed to do
exactly this in 3.5 (see #21742).
As for the `is_*_admin()` methods, this ticket was totally ignored for 2
years, and those have been in use for a long time now, so now I really
think this patch is completely pointless now, and not worth doing.
Proposing to close this ticket.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16490#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list