Make WordPress Core


Ignore:
Timestamp:
07/14/2022 02:08:21 PM (20 months 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/functions.php

    r53460 r53700  
    16011601
    16021602    if ( ! has_action( "do_feed_{$feed}" ) ) {
    1603         wp_die( __( '<strong>Error</strong>: 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.