[wp-trac] [WordPress Trac] #33070: the_thumbnail_url or similar
WordPress Trac
noreply at wordpress.org
Wed Jul 22 15:16:15 UTC 2015
#33070: the_thumbnail_url or similar
-----------------------------+------------------------------
Reporter: atomicjack | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 4.2.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
-----------------------------+------------------------------
Comment (by swissspidy):
From the previous ticket:
> I don't see the point of having to add another function just to get the
URL when there is already a function to do that.
Agree with that one. 1 function call instead of 2 doesn't make a huge
difference. I don't see the need for that additional function. But I'm
open for other opinions.
Besides that, for your use case I recommend `the_post_thumbnail` and its
`post_thumbnail_html` filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33070#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list