Make WordPress Core


Ignore:
Timestamp:
07/14/2022 02:08:21 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Text Changes: Improve consistency of punctuation in some strings.

  • Move the colon inside the <strong> tags in some Error: prefixes, to match other strings.
  • Move the full stop at the end of some sentences outside of the <strong> tags used for individual phrases.

Follow-up to [11669], [23844], [53118], [53458], [53476].

Props NekoJonez, Presskopp.
Fixes #56027.

File:
1 edited

Legend:

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

    r53455 r53700  
    283283            );
    284284            if ( ! file_exists( $this->theme_root ) ) { // Don't cache this one.
    285                 $this->errors->add( 'theme_root_missing', __( '<strong>Error</strong>: 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;
Note: See TracChangeset for help on using the changeset viewer.