[wp-trac] [WordPress Trac] #38772: restrict_manage_posts in wp-media-list-table.php missing 2nd param

WordPress Trac noreply at wordpress.org
Mon Nov 21 20:59:27 UTC 2016


#38772: restrict_manage_posts in wp-media-list-table.php missing 2nd param
----------------------------+------------------
 Reporter:  wpsmith         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.8
Component:  Administration  |     Version:  4.6
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------

Comment (by flixos90):

 Having a second look, it might not be as simple: The media list table uses
 the value "bar" for its `$which` usage while regular post list tables use
 "top" or "bottom". I think the patch should also address this in the docs
 for the `$which` parameter in the post list table class:

 `The location of the extra table nav markup: 'top' or 'bottom' for regular
 post types, or 'bar' for attachments.`

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38772#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list