[wp-trac] [WordPress Trac] #39628: add $post arg to display_media_states filter

WordPress Trac noreply at wordpress.org
Fri Jan 20 05:19:27 UTC 2017


#39628: add $post arg to display_media_states filter
--------------------------------------+-----------------------------
 Reporter:  pbiron                    |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8
Component:  Media                     |     Version:  3.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39926"]:
 {{{
 #!CommitTicketReference repository="" revision="39926"
 Media: Pass the current attachment object to `display_media_states`
 filter, for consistency with `display_post_states`.

 Props pbiron, chriseverson.
 Fixes #39628.
 }}}

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


More information about the wp-trac mailing list