Make WordPress Core

Ticket #54437: 54437.diff

File 54437.diff, 1.2 KB (added by oakesjosh, 3 years ago)
  • src/wp-includes/class-wp-theme.php

    diff --git a/src/wp-includes/class-wp-theme.php b/src/wp-includes/class-wp-theme.php
    index d0607528b5..69d6912e6b 100644
    a b final class WP_Theme implements ArrayAccess { 
    280280                                )
    281281                        );
    282282                        if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
    283                                 $this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or doesn’t exist. Please check your installation.' ) );
     283                                $this->errors->add( 'theme_root_missing', __( '<strong>Error</strong>: The themes directory is either empty or doesn&#8217;t exist. Please check your installation.' ) );
    284284                        }
    285285                        return;
    286286                } elseif ( ! is_readable( $this->theme_root . '/' . $theme_file ) ) {
  • src/wp-includes/functions.php

    diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
    index 667049aa3f..db41490924 100644
    a b function do_feed() { 
    15791579        }
    15801580
    15811581        if ( ! has_action( "do_feed_{$feed}" ) ) {
    1582                 wp_die( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
     1582                wp_die( __( '<strong>Error</strong>: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
    15831583        }
    15841584
    15851585        /**