[wp-trac] [WordPress Trac] #18785: Modernize screen functions

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 26 15:23:35 UTC 2011


#18785: Modernize screen functions
----------------------------+-----------------------
 Reporter:  nacin           |       Owner:  nacin
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |
----------------------------+-----------------------
Changes (by ocean90):

 * keywords:  has-patch commit => dev-feedback


Comment:

 There is a problem with the {{{contextual_help}}} filter. It doesn't work
 for plugin pages/settings pages. This snippet doesn't return
 {{{$screen}}}, but it does in 3.2.

 {{{
 add_filter( 'contextual_help', 'ds_text_help', 10, 2 );
 function ds_text_help( $text, $screen ) {
         var_dump( $screen );
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18785#comment:73>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list