[wp-trac] [WordPress Trac] #33070: the_thumbnail_url or similar

WordPress Trac noreply at wordpress.org
Mon Sep 28 15:33:14 UTC 2015


#33070: the_thumbnail_url or similar
-----------------------------+--------------------------
 Reporter:  atomicjack       |       Owner:  johnbillion
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  4.4
Component:  Post Thumbnails  |     Version:
 Severity:  minor            |  Resolution:  fixed
 Keywords:  needs-patch      |     Focuses:  template
-----------------------------+--------------------------
Changes (by johnbillion):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34663"]:
 {{{
 #!CommitTicketReference repository="" revision="34663"
 Update `get_the_post_thumbnail_url()` so it returns false on failure, to
 bring it inline with `wp_get_attachment_image_url()`. Correct and
 introduce new tests.

 Fixes #33070
 }}}

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


More information about the wp-trac mailing list