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

WordPress Trac noreply at wordpress.org
Thu Jun 21 12:57:40 UTC 2018


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

Comment (by birgire):

 Awesome to hear you've decided to dive into WordPress development.

 There are also many ways to help with tickets; like patching, testing,
 refreshing, documentation, designing, etc.

 I'm sure creating themes and plugins is a good way to better understand
 WordPress mechanics.

 Also helping out on support forums, can enhance debugging skills.

 The [https://make.wordpress.org/core/handbook/ Core Contributor Handbook]
 is also very helpful, regarding core contributions.

 ---

 Maybe this can help how to approach the PHP errors/notices:

 https://codex.wordpress.org/Debugging_in_WordPress

 There are also plugins, like ''Query Monitor'', that display it in an easy
 to read manner.



 ---

 I have already created a another ticket #44406 regarding the input
 mismatch.

 ---

 It seems that using {{{'media_buttons'}}} for the replacement input, is
 currently more suitable than using {{{false}}} or {{{null}}}.

 @zsiderov maybe you could checkout those outputs, so we have them
 documented here?

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


More information about the wp-trac mailing list