WordPress.org

Make WordPress Core

Changeset 47067


Ignore:
Timestamp:
01/13/2020 04:58:06 PM (10 days ago)
Author:
SergeyBiryukov
Message:

Networks and Sites: Use warning styles for 'Caution' and 'Warning' messages during Multisite installation.

Props dlh.
Fixes #49186.

File:
1 edited

Legend:

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

    r46963 r47067  
    123123    $active_plugins = get_option( 'active_plugins' );
    124124    if ( ! empty( $active_plugins ) ) {
    125         echo '<div class="updated"><p><strong>' . __( 'Warning:' ) . '</strong> ' . sprintf(
     125        echo '<div class="notice notice-warning"><p><strong>' . __( 'Warning:' ) . '</strong> ' . sprintf(
    126126            /* translators: %s: URL to Plugins screen. */
    127127            __( 'Please <a href="%s">deactivate your plugins</a> before enabling the Network feature.' ),
     
    435435        <h3><?php esc_html_e( 'Enabling the Network' ); ?></h3>
    436436        <p><?php _e( 'Complete the following steps to enable the features for creating a network of sites.' ); ?></p>
    437         <div class="updated inline"><p>
     437        <div class="notice notice-warning inline"><p>
    438438        <?php
    439439        if ( file_exists( $home_path . '.htaccess' ) ) {
Note: See TracChangeset for help on using the changeset viewer.