[wp-trac] [WordPress Trac] #20506: Undefined variable $screen_layout_columns when filtering out screen options
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 24 17:37:53 UTC 2012
#20506: Undefined variable $screen_layout_columns when filtering out screen options
------------------------------------+--------------------
Reporter: griffinjt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Warnings/Notices | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+--------------------
Comment (by ryan):
Move layout column setup into render_screen_meta(). Use add_option(
'num_columns' ) and get_option( 'num_columns' ) for setting and getting
the user selected number of columns. Retain the screen_layout_columns
global for back compat. Switch admin screens from the global to
get_option().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20506#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list