mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
I18N: Restore the "Error:" prefix for error messages.
Partially reverts [48059] as there's no full consensus on the removal of the text prefix. Further actions should be taken to improve consistency and accessibility of the admin notices. Keeps some improvements to the translatable strings from [48059]. Fixes #47656. git-svn-id: https://develop.svn.wordpress.org/trunk@48115 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -801,7 +801,7 @@ function install_plugin_information() {
|
||||
|
||||
if ( ! $compatible_php ) {
|
||||
echo '<div class="notice notice-error notice-alt"><p>';
|
||||
_e( 'This plugin <strong>requires a newer version of PHP</strong>.' );
|
||||
_e( '<strong>Error:</strong> This plugin <strong>requires a newer version of PHP</strong>.' );
|
||||
if ( current_user_can( 'update_php' ) ) {
|
||||
printf(
|
||||
/* translators: %s: URL to Update PHP page. */
|
||||
@@ -822,7 +822,7 @@ function install_plugin_information() {
|
||||
echo '</p></div>';
|
||||
} elseif ( ! $compatible_wp ) {
|
||||
echo '<div class="notice notice-error notice-alt"><p>';
|
||||
_e( 'This plugin <strong>requires a newer version of WordPress</strong>.' );
|
||||
_e( '<strong>Error:</strong> This plugin <strong>requires a newer version of WordPress</strong>.' );
|
||||
if ( current_user_can( 'update_core' ) ) {
|
||||
printf(
|
||||
/* translators: %s: URL to WordPress Updates screen. */
|
||||
|
||||
Reference in New Issue
Block a user