[wp-trac] [WordPress Trac] #12999: Viewing unattached attachments results in 404

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 14 14:41:22 UTC 2010


#12999: Viewing unattached attachments results in 404
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:  ryan
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  3.0 
Component:  Security      |     Version:      
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------

Comment(by ryan):

 If we want unattached attachments to be public, get_post_status() could
 return 'publish' if the status of a post is inherit, the post type is
 attachment, and the parent is 0.

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


More information about the wp-trac mailing list