[wp-trac] [WordPress Trac] #39030: Pass post object or post ID to post_thumbnail_size filter
WordPress Trac
noreply at wordpress.org
Tue Aug 8 18:02:29 UTC 2017
#39030: Pass post object or post ID to post_thumbnail_size filter
-------------------------------------------------+-------------------------
Reporter: wido | Owner:
Type: enhancement | NathanAtmoz
Priority: normal | Status: assigned
Component: Post Thumbnails | Milestone: 4.9
Severity: normal | Version: 4.7
Keywords: good-first-bug has-patch needs- | Resolution:
unit-tests | Focuses: template
-------------------------------------------------+-------------------------
Changes (by flixos90):
* keywords: good-first-bug has-patch => good-first-bug has-patch needs-
unit-tests
* owner: => NathanAtmoz
* status: new => assigned
Comment:
Thanks for the patch @NathanAtmoz, looks good!
Please note that the parameter description as well as the `since`
annotation in the doc block need to end with a dot. However, you don't
necessarily need to update the patch, since this can be done pre-commit.
Just something to be aware of. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39030#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list