Make WordPress Core

Ticket #13084: wp-settings.patch

File wp-settings.patch, 756 bytes (added by oncletom, 17 years ago)
  • wp-settings.php

     
    711711$wp_locale =& new WP_Locale();
    712712
    713713// Load functions for active theme.
     714if ( file_exists(TEMPLATEPATH . '/functions.php') )
     715  include(TEMPLATEPATH . '/functions.php');
    714716if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists(STYLESHEETPATH . '/functions.php') )
    715717        include(STYLESHEETPATH . '/functions.php');
    716 if ( file_exists(TEMPLATEPATH . '/functions.php') )
    717         include(TEMPLATEPATH . '/functions.php');
    718718
    719719// Load in support for template functions which the theme supports
    720720require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-thumbnail-template.php' );