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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 4 19:54:24 UTC 2011

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

Comment (by azaozz):

 Following a discussion in #wordpress-dev it was decided to use the old
 functions and the new API (WP_Screen) in parallel in 3.3 and revisit it
 again in 3.4.

 In that terms we can (should?) add get_column_headers(),
 get_hidden_columns() and get_hidden_meta_boxes() equivalents in WP_Screen
 so we can deprecate the stand-alone functions later.

 Or perhaps we can "autoload" these three in `__construct()` as they are
 helper functions to get user options.

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

More information about the wp-trac mailing list