[wp-trac] [WordPress Trac] #49832: Documented @return for get_post_thumbnail_id() is inaccurate

WordPress Trac noreply at wordpress.org
Tue Apr 21 19:00:16 UTC 2020


#49832: Documented @return for get_post_thumbnail_id() is inaccurate
-----------------------------+-----------------------------
 Reporter:  theMikeD         |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  5.5
Component:  Post Thumbnails  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  docs
-----------------------------+-----------------------------

Comment (by netpassprodsr):

 The outcome of #49751 as of 4/9/2020 is the following:

     Milestone 5.4.1 deleted
     Resolution set to invalid
     Status changed from new to closed

 which leaves the [47160] in limbo.
 I agree with the logic that this code change attempts to address.
 That said, until there's a formal endorsement that this code change will
 be remain in place, modifying the docs to fit a "volatile" code change is
 unwise at this point.
 My recommendation is to resolve this as "maybelater" unless a more
 appropriate workflow/handling of these cases should be followed.

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


More information about the wp-trac mailing list