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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 11 21:32:22 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:  needs-patch     |
----------------------------+-----------------------

Comment (by nacin):

 In [18943]:
 {{{
 #!CommitTicketReference repository="" revision="18943"
 Store screen help and options as static data against WP_Screen. Individual
 screen objects no longer hold data it can't re-generate on construction or
 otherwise fetch. convert_to_screen() now returns a WP_Screen object.
 Various globals are gone. Introduces WP_Screen::get_option(). Allows for a
 formal factory to be introduced later. see #18785.
 }}}

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


More information about the wp-trac mailing list