Make WordPress Core


Ignore:
Timestamp:
06/02/2022 03:03:39 PM (3 years ago)
Author:
audrasjb
Message:

Text Changes: Improve consistency of admin error notices.

This changeset replaces <strong>Error</strong>: with <strong>Error:</strong>, for better consistency.

Props transl8or, mihaidumitrascu, audrasjb.
Fixes #50785.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-deprecated.php

    r53455 r53458  
    402402    // Check if the domain has been used already. We should return an error message.
    403403    if ( domain_exists($domain, $path, $site_id) )
    404         return __( '<strong>Error</strong>: Site URL you&#8217;ve entered is already taken.' );
     404        return __( '<strong>Error:</strong> Site URL you&#8217;ve entered is already taken.' );
    405405
    406406    /*
     
    411411
    412412    if ( ! $blog_id = insert_blog($domain, $path, $site_id) )
    413         return __( '<strong>Error</strong>: There was a problem creating site entry.' );
     413        return __( '<strong>Error:</strong> There was a problem creating site entry.' );
    414414
    415415    switch_to_blog($blog_id);
Note: See TracChangeset for help on using the changeset viewer.