[wp-trac] [WordPress Trac] #44383: Deprecate the media_buttons_context filter with apply_filters_deprecated()

WordPress Trac noreply at wordpress.org
Sun Jun 17 18:00:23 UTC 2018


#44383: Deprecate the media_buttons_context filter with apply_filters_deprecated()
----------------------------------------+------------------------------
 Reporter:  birgire                     |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Media                       |     Version:  3.5
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------------------

Comment (by birgire):

 Thank you for the patch @zsiderov

 Notes on [attachment:44383.diff] :

 - The {{{$array( '' )}}} should be an array.
 - Should {{{'Please use "media_buttons" action instead.'}}} be
 translatable?
 - Did you test it? If so how did the full notice look like? It would be
 nice to see that.

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


More information about the wp-trac mailing list