[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 23:53:01 UTC 2012


#20506: Undefined variable $screen_layout_columns when filtering out screen options
------------------------------------+---------------------
 Reporter:  griffinjt               |       Owner:  ryan
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  3.4
Component:  Warnings/Notices        |     Version:  3.3.1
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------

Comment (by griffinjt):

 Replying to [comment:16 ryan]:

 Looking good on my end - no issues that I can see. The only thing I would
 change in your patch (nitpicky) is that the way you have called the global
 doesn't follow coding standards - see
 https://twitter.com/#!/nacin/status/192611263321358338 by nacin regarding
 the issue.

 Should be `$GLOBALS['screen_layout_columns']` instead.

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


More information about the wp-trac mailing list