WordPress.org

Make WordPress Core

Changeset 18263


Ignore:
Timestamp:
06/11/11 03:04:04 (3 years ago)
Author:
ryan
Message:

Load the theme's functions.php for wp-activate.php. Props nacin, frumph. fixes #17761

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r17749 r18263  
    274274 
    275275// Load the functions for the active theme, for both parent and child theme if applicable. 
    276 if ( ! defined( 'WP_INSTALLING' ) ) { 
     276if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) { 
    277277    if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . '/functions.php' ) ) 
    278278        include( STYLESHEETPATH . '/functions.php' ); 
Note: See TracChangeset for help on using the changeset viewer.