[wp-trac] [WordPress Trac] #20453: Media screen links to non-public post types

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 16 02:59:47 UTC 2012


#20453: Media screen links to non-public post types
----------------------------+------------------------------
 Reporter:  johnbillion     |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  2nd-opinion     |
----------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => 2nd-opinion


Comment:

 Attached is my patch. I fully expect this to have side effects, so this
 needs input from others.

 Additionally, the existing logic which checks the return value of
 `get_post()` on line 298 looks erroneous to me. If it returns false then
 the `$title` variable is not going to be as expected.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20453#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list