diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-admin/plugins.php --- a/wp/wp-admin/plugins.php Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-admin/plugins.php Fri Sep 05 18:40:08 2025 +0200 @@ -40,6 +40,8 @@ wp_enqueue_script( 'updates' ); +WP_Plugin_Dependencies::initialize(); + if ( $action ) { switch ( $action ) { @@ -339,15 +341,31 @@ ?>

- -

- + ' . __( 'Caution:' ) . ' ' . __( 'This plugin may be active on other sites in the network.' ); + wp_admin_notice( + $maybe_active_plugin, + array( + 'additional_classes' => array( 'error' ), + ) + ); + endif; + ?>

- -

- + ' . __( 'Caution:' ) . ' ' . __( 'These plugins may be active on other sites in the network.' ); + wp_admin_notice( + $maybe_active_plugins, + array( + 'additional_classes' => array( 'error' ), + ) + ); + endif; + ?>