[wp-trac] [WordPress Trac] #19974: WP_Screen help getter functions missing

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 15 19:55:34 UTC 2012


#19974: WP_Screen help getter functions missing
----------------------------+-----------------------
 Reporter:  npetetin        |       Owner:  nacin
     Type:  enhancement     |      Status:  accepted
 Priority:  normal          |   Milestone:  3.4
Component:  Administration  |     Version:  3.3.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by nacin):

 When looking through this, I noticed that $id isn't actually used to key
 _help_tabs. (Note it's also _help_tabs, not _help_tab.) This is lame and
 is something we can get away with breaking compatibility on.

 Attached, I'm adding get_help_tab(), get_help_tabs(), and
 get_help_sidebar(), and then using those helper methods elsewhere in the
 class.

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


More information about the wp-trac mailing list