Ticket #17805: include_once-functions.php.patch
| File include_once-functions.php.patch, 744 bytes (added by , 15 years ago) |
|---|
-
wp-settings.php
275 275 // Load the functions for the active theme, for both parent and child theme if applicable. 276 276 if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) { 277 277 if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) ) 278 include ( STYLESHEETPATH . '/functions.php' );278 include_once( STYLESHEETPATH . '/functions.php' ); 279 279 if ( file_exists( TEMPLATEPATH . '/functions.php' ) ) 280 include ( TEMPLATEPATH . '/functions.php' );280 include_once( TEMPLATEPATH . '/functions.php' ); 281 281 } 282 282 283 283 do_action( 'after_setup_theme' );