Changeset 57153 for trunk/src/wp-includes/theme.php
- Timestamp:
- 12/04/2023 07:36:27 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r57139 r57153 840 840 $new_theme->delete_pattern_cache(); 841 841 $old_theme->delete_pattern_cache(); 842 843 // Set autoload=no for the old theme, autoload=yes for the switched theme. 844 $theme_mods_options = array( 845 'theme_mods_' . $stylesheet => 'yes', 846 'theme_mods_' . $old_theme->get_stylesheet() => 'no', 847 ); 848 wp_set_option_autoload_values( $theme_mods_options ); 842 849 843 850 /**
Note: See TracChangeset
for help on using the changeset viewer.