[wp-trac] [WordPress Trac] #39030: Pass post object or post ID to post_thumbnail_size filter

WordPress Trac noreply at wordpress.org
Fri Aug 18 18:18:53 UTC 2017


#39030: Pass post object or post ID to post_thumbnail_size filter
-------------------------------------------------+-------------------------
 Reporter:  wido                                 |       Owner:
     Type:  enhancement                          |  NathanAtmoz
 Priority:  normal                               |      Status:  closed
Component:  Post Thumbnails                      |   Milestone:  4.9
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:  fixed
  tests                                          |     Focuses:  template
-------------------------------------------------+-------------------------
Changes (by flixos90):

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


Comment:

 In [changeset:"41267"]:
 {{{
 #!CommitTicketReference repository="" revision="41267"
 Post Thumbnails: Pass post ID to `post_thumbnail_size` filter.

 In addition to the enhancement, tests for the filter usage including the
 new parameter have been added.

 Props NathanAtmoz.
 Fixes #39030.
 }}}

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


More information about the wp-trac mailing list