Make WordPress Core

Changeset 53118


Ignore:
Timestamp:
04/10/2022 07:45:40 PM (5 years ago)
Author:
audrasjb
Message:

General: add missing strong tag to some error messages.

Props NekoJonez, oakesjosh.
Fixes #54437.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme.php

    r52978 r53118  
    283283                        );
    284284                        if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
    285                                 $this->errors->add( 'theme_root_missing', __( 'Error: The themes directory is either empty or does not exist. Please check your installation.' ) );
     285                                $this->errors->add( 'theme_root_missing', __( '<strong>Error</strong>: The themes directory is either empty or does not exist. Please check your installation.' ) );
    286286                        }
    287287                        return;
  • trunk/src/wp-includes/functions.php

    r53060 r53118  
    16011601
    16021602        if ( ! has_action( "do_feed_{$feed}" ) ) {
    1603                 wp_die( __( 'Error: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
     1603                wp_die( __( '<strong>Error</strong>: This is not a valid feed template.' ), '', array( 'response' => 404 ) );
    16041604        }
    16051605
Note: See TracChangeset for help on using the changeset viewer.