Make WordPress Core

Ticket #49186: 49186.diff

File 49186.diff, 1.2 KB (added by dlh, 5 years ago)
  • src/wp-admin/includes/network.php

    diff --git src/wp-admin/includes/network.php src/wp-admin/includes/network.php
    index 3f29c71b86..7fe03dc472 100644
    function network_step1( $errors = false ) { 
    122122
    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.' ),
    128128                        admin_url( 'plugins.php?plugin_status=active' )
    function network_step2( $errors = false ) { 
    434434                ?>
    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' ) ) {
    440440                        echo '<strong>' . __( 'Caution:' ) . '</strong> ';