[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:34:18 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 zsiderov):

 Thanks for the feedback @birgire.

 - I will change "$array( ' ' )" to "array( ' ' )".
 - I am not sure how to make 'Please use "media_buttons" action instead.'
 to be translatable? What is the best way to do so?
 - I will google it to see how to trigger the media_buttons filter and
 attach a screenshot of the notice. If you know on top of your head a quick
 way to test it, let me know.

 Thanks,
 Zhivko

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


More information about the wp-trac mailing list