[wp-trac] [WordPress Trac] #30691: Removing a featured image does not remove the 'post_parent' value - reproducible
WordPress Trac
noreply at wordpress.org
Fri Dec 12 13:52:17 UTC 2014
#30691: Removing a featured image does not remove the 'post_parent' value -
reproducible
--------------------------+------------------------------
Reporter: juggledad | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.0.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by juggledad):
But if the post_parent value is not reset, using get_children() and
get_posts() returns it even though it is no longer associated to that
post.
Then this seems like a bug in those two functions. If the featured image
is removed from a post and I use get_children(), it should not return that
featured image since it is no longer associated with the post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30691#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list