[wp-trac] [WordPress Trac] #13425: Image Gallery of Private Post is publicly displayed

WordPress Trac noreply at wordpress.org
Sat Feb 8 00:03:51 UTC 2014


#13425: Image Gallery of Private Post is publicly displayed
--------------------------+----------------------
 Reporter:  hakre         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  3.0
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Future Release =>


Comment:

 Just because the images are attached to the post, doesn't mean they can't
 be shown. `get_children()` retrieves the attachments for the `[gallery]`,
 and has never checked the `post_status` of the parent post.

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


More information about the wp-trac mailing list