Make WordPress Core

Ticket #21931: 21931.2.diff

File 21931.2.diff, 497 bytes (added by SergeyBiryukov, 12 years ago)
  • wp-includes/default-constants.php

     
    277277 * @since 3.0.0
    278278 */
    279279function wp_templating_constants( ) {
     280        $theme = wp_get_theme();
     281        if ( $theme->errors() )
     282                wp_die( $theme->errors()->get_error_message() );
     283
    280284        /**
    281285         * Filesystem path to the current active template directory
    282286         * @since 1.5.0