Changeset 32632 for trunk/src/wp-includes/theme.php
- Timestamp:
- 05/28/2015 05:50:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r32629 r32632 901 901 function get_theme_mods() { 902 902 $theme_slug = get_option( 'stylesheet' ); 903 if ( false === ( $mods = get_option( "theme_mods_$theme_slug" ) ) ) { 903 $mods = get_option( "theme_mods_$theme_slug" ); 904 if ( false === $mods ) { 904 905 $theme_name = get_option( 'current_theme' ); 905 906 if ( false === $theme_name ) … … 910 911 delete_option( "mods_$theme_name" ); 911 912 } 912 return $mods;913 }913 } 914 return $mods; 914 915 } 915 916
Note: See TracChangeset
for help on using the changeset viewer.