Trim code from Twenty Eleven theme-options
|Reported by:||emhr||Owned by:||markjaquith|
Suggest removal of the conditional statement for add_option() in twentyeleven_theme_options_init()
The function twentyeleven_get_theme_options() uses get_option() and sets the $default parameter.
The conditional statement will never evaluate twentyeleven_get_theme_options() as false. This is probably an artifact from a previous release. As far as I can tell, removing it has no effect to the current revision except for trimming code.
Change History (11)
- Cc Otto42 added
- Keywords commit added
- Milestone changed from Awaiting Review to 3.4
- Priority changed from normal to high
- Severity changed from minor to normal