[wp-trac] [WordPress Trac] #40096: get_post_thumbnail_id should return int

WordPress Trac noreply at wordpress.org
Tue Jan 7 00:34:44 UTC 2020


#40096: get_post_thumbnail_id should return int
-----------------------------+------------------------------
 Reporter:  0v3rth3d4wn      |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  2.9
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  docs
-----------------------------+------------------------------
Changes (by desrosj):

 * focuses:   => docs
 * component:  General => Post Thumbnails
 * version:  4.7.3 => 2.9


Comment:

 From #45658, the inline documentation says `@return string|int, but an
 integer is not returned.

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


More information about the wp-trac mailing list