[wp-trac] [WordPress Trac] #12073: Query Variables for Plugin Menu Pages
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 29 00:38:07 UTC 2010
#12073: Query Variables for Plugin Menu Pages
----------------------------+-----------------------------------------------
Reporter: jfarthing84 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Administration | Version: 2.9.1
Severity: normal | Keywords: dev-feedback
----------------------------+-----------------------------------------------
I would like to be able to pass query variables through the admin menu
functions. For instance, I have multiple "entities" that can all be
managed from the same form. However, there is no way to specify
"entity=type" in the query for the menu page. So, I have to create a
separate PHP file for each "entity", that in turn includes the "edit-
entity.php" file along with a variable specifying which "entity" type it
is. This would be easily achieved with a query value of the "entity" type.
The new WordPress taxonomy system works this way. Let's support it for
plugins too.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12073>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list