-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do not save default settings to database #110
Milestone
Comments
middlesister
added a commit
that referenced
this issue
Jul 26, 2014
middlesister
added a commit
that referenced
this issue
Jul 26, 2014
middlesister
added a commit
that referenced
this issue
Jul 26, 2014
middlesister
added a commit
that referenced
this issue
Jul 26, 2014
Use wp_parse_args() to use default theme options even when no options have been saved to the database yet. See #110
middlesister
added a commit
that referenced
this issue
Jul 26, 2014
Previous use of thematic_get_theme_opt() caused an infinite loop since thematic_get_theme_opt() now fallbacks to thematic_default_opt() which calls thematic_default_theme_layout(). Using thematic_get_wp_opt() ensures we actually check if database option exists or not. See #110
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
new in Theme Review Guidelines for 3.9
See http://make.wordpress.org/themes/2014/07/09/using-sane-defaults-in-themes/
The text was updated successfully, but these errors were encountered: