Changeset 29044 for trunk/src/wp-settings.php
- Timestamp:
- 07/09/2014 06:06:54 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r28934 r29044 323 323 // Load the functions for the active theme, for both parent and child theme if applicable. 324 324 if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) { 325 if ( is_child_theme() && file_exists( get_stylesheet_directory() . '/functions.php' ) ) { 326 include get_stylesheet_directory() . '/functions.php'; 327 } 328 if ( file_exists( get_template_directory() . '/functions.php' ) ) { 329 include get_template_directory() . '/functions.php'; 330 } 325 if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) ) 326 include( STYLESHEETPATH . '/functions.php' ); 327 if ( file_exists( TEMPLATEPATH . '/functions.php' ) ) 328 include( TEMPLATEPATH . '/functions.php' ); 331 329 } 332 330
Note: See TracChangeset
for help on using the changeset viewer.