Changeset 41923
- Timestamp:
- 10/18/2017 08:01:36 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r41921 r41923 103 103 104 104 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( 106 /* translators: %s: DO_NOT_UPGRADE_GLOBAL_TABLES */ 107 __( 'The constant %s cannot be defined when creating a network.' ), 108 '<code>DO_NOT_UPGRADE_GLOBAL_TABLES</code>' 109 ) . '</p></div>'; 106 110 echo '</div>'; 107 111 include( ABSPATH . 'wp-admin/admin-footer.php' ); … … 111 115 $active_plugins = get_option( 'active_plugins' ); 112 116 if ( ! empty( $active_plugins ) ) { 113 echo '<div class="updated"><p><strong>' . __( 'Warning:' ) . '</strong> ' . sprintf( __( 'Please <a href="%s">deactivate your plugins</a> before enabling the Network feature.' ), admin_url( 'plugins.php?plugin_status=active' ) ) . '</p></div><p>' . __( 'Once the network is created, you may reactivate your plugins.' ) . '</p>'; 117 echo '<div class="updated"><p><strong>' . __( 'Warning:' ) . '</strong> ' . sprintf( 118 /* translators: %s: Plugins screen URL */ 119 __( 'Please <a href="%s">deactivate your plugins</a> before enabling the Network feature.' ), 120 admin_url( 'plugins.php?plugin_status=active' ) 121 ) . '</p></div><p>' . __( 'Once the network is created, you may reactivate your plugins.' ) . '</p>'; 114 122 echo '</div>'; 115 123 include( ABSPATH . 'wp-admin/admin-footer.php' );
Note: See TracChangeset
for help on using the changeset viewer.