WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30691, comment 5


Ignore:
Timestamp:
02/27/2015 01:37:55 AM (7 years ago)
Author:
juggledad
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30691, comment 5

    initial v1  
    44if the featured image is removed from a post, then isn't it is no longer an attachment? - yet it is returned as an attachment to the post.
    55
    6 Something is not consistent. If the image exists and I set it as a featured image then remove it, it is not returned by get_children(). If I upload an image as the featured image then remove it, it is returned by the get_children().
     6Something is not consistent. If the image exists and I set it as a featured image then remove it, it '''IS NOT''' returned by get_children(). If I upload an image as the featured image then remove it, it '''IS''' returned by the get_children().