[wp-trac] [WordPress Trac] #33070: the_thumbnail_url or similar
WordPress Trac
noreply at wordpress.org
Fri Sep 4 13:45:37 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: minor | Resolution:
Keywords: has-patch dev-feedback | Focuses: template
------------------------------------+------------------------------
Comment (by atomicjack):
Replying to [comment:13 swissspidy]:
> @atomicjack Next time please don't create a patch for your patch.
Instead, update the original patch.
>
> I'm still not really fond of the idea, but I created a new patch that
does the following:
>
> * Adds two new functions, `get_post_thumbnail_url()` and
`the_post_thumbnail_url()`.
> * Adds them in the correct file (`post-thumbnail-template.php`)
> * Adds docblocks
I actually don't know how to update a patch on here... I just followed
what I've seen others do.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33070#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list