Changeset 20875
- Timestamp:
- 05/24/2012 07:38:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/inc/theme-options.php
r20508 r20875 32 32 * formatted, and safe. 33 33 * 34 * We also use this function to add our theme option if it doesn't already exist.35 *36 34 * @since Twenty Eleven 1.0 37 35 */ 38 36 function twentyeleven_theme_options_init() { 39 40 // If we have no options in the database, let's add them now.41 if ( false === twentyeleven_get_theme_options() )42 add_option( 'twentyeleven_theme_options', twentyeleven_get_default_theme_options() );43 37 44 38 register_setting(
Note: See TracChangeset
for help on using the changeset viewer.