[wp-trac] [WordPress Trac] #14083: Back compat for pages and categories for the load-$pagenow hook (was: Specific action hooks for different content types on load of the edit screen)
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 7 07:54:09 UTC 2010
#14083: Back compat for pages and categories for the load-$pagenow hook
----------------------------+-----------------------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0.1
Component: Administration | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Changes (by nacin):
* keywords: has-patch dev-feedback needs-testing => has-patch
* type: enhancement => defect (bug)
Comment:
It is much better to rely on the $current_screen object. And since these
are globals, it is not like these are inaccessible. I suggest we add the
back compat hooks, but drop the arguments.
Changing the title and making this a bug. Additional hooks or contexts can
be discussed in a new ticket > 3.0.x.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14083#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list