[wp-trac] [WordPress Trac] #17686: Twenty Eleven's Width changes after first log in to new install

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 4 22:01:14 UTC 2011


#17686: Twenty Eleven's Width changes after first log in to new install
--------------------------+------------------
 Reporter:  blepoxp       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  Themes        |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.2


Comment:

 So the issue is that the option is instantiated on admin_init.

 Solution: twentyeleven_get_theme_options() should return
 twentyeleven_get_default_theme_options() if for some reason the option ===
 false. Then on admin we'll properly instantiate it.

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


More information about the wp-trac mailing list