[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:31:57 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          |   Keywords:
----------------------------+-----------------------------
 I have a non-public custom post type registered, so it doesn't get an
 admin UI.

 A file in the media library is attached to one of my custom posts (done at
 the point the file is uploaded using `media_handle_upload()`). The media
 item shows up in the Media Library as expected, but the 'Attached To'
 column links to the editing screen for the parent post, even though the
 post is non-public.

 This allows a user to see the post editing screen for a non-public post
 type.

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


More information about the wp-trac mailing list