Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Bold only on the "Error:" text #5651

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wp-admin/includes/network.php
Expand Up @@ -175,7 +175,7 @@ function network_step1( $errors = false ) {

$error_codes = array();
if ( is_wp_error( $errors ) ) {
$network_created_error_message = '<p><strong>' . __( 'Error: The network could not be created.' ) . '</strong></p>';
$network_created_error_message = '<p><strong>' . __( 'Error:' ) . '</strong>' . __( 'The network could not be created.' ) . '</p>';
foreach ( $errors->get_error_messages() as $error ) {
$network_created_error_message .= "<p>$error</p>";
}
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/themes.php
Expand Up @@ -346,7 +346,7 @@

if ( $current_theme->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
wp_admin_notice(
__( 'Error:' ) . ' ' . $current_theme->errors()->get_error_message(),
'<strong>' . __( 'Error:' ) . '</strong>' . ' ' . $current_theme->errors()->get_error_message(),
array(
'additional_classes' => array( 'error' ),
)
Expand Down