WordPress.org

Make WordPress Core

Ticket #37280: 37280.1.diff

File 37280.1.diff, 3.8 KB (added by Presskopp, 3 years ago)

First patch

  • edit-tag-form.php

     
    7272
    7373<?php if ( $message ) : ?>
    7474<div id="message" class="updated">
    75         <p><strong><?php echo $message; ?></strong></p>
     75        <p><?php echo $message; ?></p>
    7676        <?php if ( $wp_http_referer ) { ?>
    7777        <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php
    7878                /* translators: %s: taxonomy name */
  • includes/nav-menu.php

     
    10561056        $messages[] = '<div id="message" class="updated notice is-dismissible"><p>' .
    10571057                /* translators: %s: nav menu title */
    10581058                sprintf( __( '%s has been updated.' ),
    1059                         '<strong>' . $nav_menu_selected_title . '</strong>'
     1059                        $nav_menu_selected_title
    10601060                ) . '</p></div>';
    10611061
    10621062        unset( $menu_items, $unsorted_menu_items );
  • my-sites.php

     
    5252require_once( ABSPATH . 'wp-admin/admin-header.php' );
    5353
    5454if ( $updated ) { ?>
    55         <div id="message" class="updated notice is-dismissible"><p><strong><?php _e( 'Settings saved.' ); ?></strong></p></div>
     55        <div id="message" class="updated notice is-dismissible"><p><?php _e( 'Settings saved.' ); ?></p></div>
    5656<?php } ?>
    5757
    5858<div class="wrap">
  • plugins.php

     
    464464                </div>
    465465                <?php endif; ?>
    466466<?php elseif ( isset($_GET['activate']) ) : ?>
    467         <div id="message" class="updated notice is-dismissible"><p><?php _e('Plugin <strong>activated</strong>.') ?></p></div>
     467        <div id="message" class="updated notice is-dismissible"><p><?php _e('Plugin activated.') ?></p></div>
    468468<?php elseif (isset($_GET['activate-multi'])) : ?>
    469         <div id="message" class="updated notice is-dismissible"><p><?php _e('Selected plugins <strong>activated</strong>.'); ?></p></div>
     469        <div id="message" class="updated notice is-dismissible"><p><?php _e('Selected plugins activated.'); ?></p></div>
    470470<?php elseif ( isset($_GET['deactivate']) ) : ?>
    471         <div id="message" class="updated notice is-dismissible"><p><?php _e('Plugin <strong>deactivated</strong>.') ?></p></div>
     471        <div id="message" class="updated notice is-dismissible"><p><?php _e('Plugin deactivated.') ?></p></div>
    472472<?php elseif (isset($_GET['deactivate-multi'])) : ?>
    473         <div id="message" class="updated notice is-dismissible"><p><?php _e('Selected plugins <strong>deactivated</strong>.'); ?></p></div>
     473        <div id="message" class="updated notice is-dismissible"><p><?php _e('Selected plugins deactivated.'); ?></p></div>
    474474<?php elseif ( 'update-selected' == $action ) : ?>
    475475        <div id="message" class="updated notice is-dismissible"><p><?php _e('All selected plugins are up to date.'); ?></p></div>
    476476<?php endif; ?>
  • user-edit.php

     
    176176<?php if ( isset($_GET['updated']) ) : ?>
    177177<div id="message" class="updated notice is-dismissible">
    178178        <?php if ( IS_PROFILE_PAGE ) : ?>
    179         <p><strong><?php _e('Profile updated.') ?></strong></p>
     179        <p><?php _e('Profile updated.') ?></p>
    180180        <?php else: ?>
    181         <p><strong><?php _e('User updated.') ?></strong></p>
     181        <p><?php _e('User updated.') ?></p>
    182182        <?php endif; ?>
    183183        <?php if ( $wp_http_referer && false === strpos( $wp_http_referer, 'user-new.php' ) && ! IS_PROFILE_PAGE ) : ?>
    184184        <p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php _e('&larr; Back to Users'); ?></a></p>