[wp-trac] Re: [WordPress Trac] #6196: New action hook for edit.php for plugin authors to add new filter field...

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 13 19:11:59 GMT 2008


#6196: New action hook for edit.php for plugin authors to add new filter field...
------------------------------------+---------------------------------------
 Reporter:  nerrad                  |        Owner:  westi   
     Type:  enhancement             |       Status:  assigned
 Priority:  normal                  |    Milestone:  2.5     
Component:  Administration          |      Version:  2.5     
 Severity:  blocker                 |   Resolution:          
 Keywords:  needs-patch regression  |  
------------------------------------+---------------------------------------
Changes (by westi):

  * keywords:  has-patch regression? => needs-patch regression

Comment:

 Replying to [comment:2 nerrad]:
 > I don't think restrict_manage_posts is in the wrong place.  My
 understanding is that it's purpose is for adding hook for filtering by
 type should a plugin author create a new post type.  Therefore you'd want
 restrict_manage_posts to be where it is for adding in the same line as the
 other post-type filter options.
 >
 > However, my suggested new action hook would be for plugin authors to add
 in a new form-field for filtering by a new post-taxonomy in the indicated
 location.  It'd be nice to have the option of the two possible locations
 for insertion rather than just one (due to the new ui layout)

 restrict_manage_post is in the wrong place - trust me I invented it ;-)
 [4321]

 Unfortunately because of the design of the new admin ui where the whole
 list is inside the form we can't let plugins add there own form.

 I think we need to move restrict_manage_post inside the form back where it
 should be rather than add another hook - and make sure to notify plugin
 authors that it has changed slightly.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6196#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list