Make WordPress Core


Ignore:
Timestamp:
02/01/2020 09:36:44 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Accessibility: Text Changes: Use sentence case for the word Error in various error messages, instead of all caps.

Using all caps should be avoided for better readability and because screen readers may pronounce all-caps words as abbreviations.

Props afercia, ryokuhi, sabernhardt, garrett-eclipse.
See #47656, #43037, #42945.

File:
1 edited

Legend:

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

    r47122 r47156  
    490490            sprintf(
    491491                /* translators: 1: $table_prefix, 2: wp-config.php */
    492                 __( '<strong>ERROR</strong>: %1$s in %2$s can only contain numbers, letters, and underscores.' ),
     492                __( '<strong>Error</strong>: %1$s in %2$s can only contain numbers, letters, and underscores.' ),
    493493                '<code>$table_prefix</code>',
    494494                '<code>wp-config.php</code>'
Note: See TracChangeset for help on using the changeset viewer.