Link to active plugins when we block a Network upgrade due to them. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14463 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
16db1d5699
commit
71c9ad21de
@ -99,7 +99,7 @@ function network_step1( $errors = false ) {
|
|||||||
|
|
||||||
$active_plugins = get_option( 'active_plugins' );
|
$active_plugins = get_option( 'active_plugins' );
|
||||||
if ( ! empty( $active_plugins ) ) {
|
if ( ! empty( $active_plugins ) ) {
|
||||||
echo '<div class="updated"><p><strong>' . __('Warning:') . '</strong> ' . sprintf( __( 'Please <a href="%s">deactivate</a> your plugins before enabling the Network feature.' ), admin_url( 'plugins.php' ) ) . '</p></div><p>' . __(' Once the network is created, you may reactivate your plugins.' ) . '</p>';
|
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>';
|
||||||
include( './admin-footer.php' );
|
include( './admin-footer.php' );
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user