Make WordPress Core

Ticket #41652: 41652.patch

File 41652.patch, 781 bytes (added by ramiy, 7 years ago)
  • wp-admin/includes/network.php

     
    102102        global $is_apache;
    103103
    104104        if ( defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) {
    105                 echo '<div class="error"><p><strong>' . __('ERROR:') . '</strong> ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '</p></div>';
     105                echo '<div class="error"><p><strong>' . __( 'ERROR:' ) . '</strong> ' . sprintf( __( 'The constant %s cannot be defined when creating a network.' ), '<code>DO_NOT_UPGRADE_GLOBAL_TABLES</code>' ) . '</p></div>';
    106106                echo '</div>';
    107107                include( ABSPATH . 'wp-admin/admin-footer.php' );
    108108                die();