Opened 12 years ago
Closed 12 years ago
#17686 closed defect (bug) (fixed)
Twenty Eleven's Width changes after first log in to new install
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.2 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description
Just installed trunk and noticed that the Twenty Eleven theme's width jumped up by several hundred pixels after first log in attempt. I don't have time to track it down in the PHP right now but firebug tells me the following:
After a fresh install, before I log in, the HTML source of the home page looks like this on the body element:
<body class="home blog one-column ">
After logging in and then logging back out and returning to the home page it looks like this:
<body class="home blog two-column content-sidebar">
Attachments (1)
Change History (9)
#2
follow-up:
↓ 4
@
12 years ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In [18141]:
Note: See
TracTickets for help on using
tickets.
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.