[wp-trac] [WordPress Trac] #21871: Reduce reliance on global variables in list tables
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 22 17:53:11 UTC 2012
#21871: Reduce reliance on global variables in list tables
----------------------------+-----------------------
Reporter: ryan | Owner: ryan
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Administration | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch |
----------------------------+-----------------------
Comment (by scribu):
Replying to [comment:8 nacin]:
> What about allowing a query string to be passed with as the hookname,
from which we can then glean post type or taxonomy?
I think that's actually the most elegant solution, since that's the
information that's originally used to generate the screen object.
That is, of course, assuming that all the logic is contained within the
WP_Screen class, as opposed to scatered all over the place.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21871#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list