Changeset 59466
- Timestamp:
- 11/27/2024 02:28:55 PM (15 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r59461 r59466 680 680 // Load the functions for the active theme, for both parent and child theme if applicable. 681 681 foreach ( wp_get_active_and_valid_themes() as $theme ) { 682 $wp_theme = wp_get_theme( basename( $theme ) ); 683 682 684 if ( file_exists( $theme . '/functions.php' ) ) { 683 685 include $theme . '/functions.php'; 684 686 } 685 687 686 $theme = wp_get_theme( basename( $theme ) ); 687 $theme->load_textdomain(); 688 } 689 unset( $theme ); 688 $wp_theme->load_textdomain(); 689 } 690 unset( $theme, $wp_theme ); 690 691 691 692 /**
Note: See TracChangeset
for help on using the changeset viewer.