Make WordPress Core

Ticket #21931: 21931.3.diff

File 21931.3.diff, 513 bytes (added by MikeHansenMe, 10 years ago)

Refreshed

  • src/wp-includes/default-constants.php

     
    299299 * @since 3.0.0
    300300 */
    301301function wp_templating_constants() {
     302
     303        $theme = wp_get_theme();
     304        if ( $theme->errors() ) {
     305                wp_die( $theme->errors()->get_error_message() );
     306        }
     307
    302308        /**
    303309         * Filesystem path to the current active template directory
    304310         * @since 1.5.0