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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 10 20:39:53 UTC 2011


#18785: Modernize screen functions
----------------------------+------------------------------
 Reporter:  nacin           |       Owner:  nacin
     Type:  enhancement     |      Status:  assigned
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------------------

Comment (by nacin):

 Valid or not, IDs built off of translations are not stable, so that's a
 no-go. We're not just talking about HTML IDs here. A remove_help_tab()
 would need an ID to be able to grab hold of the tab.

 No one looks at WP and thinks we're an OOP shop. The major selling point
 behind WP_Screen was encapsulation. Not just namespacing. There are huge
 benefits to being able to hide internal components from plugins, including
 the avoidance of globals.

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


More information about the wp-trac mailing list