From cfc609a43a42a392931ec904777ac3e9b23dbf58 Mon Sep 17 00:00:00 2001 From: Bishal Shrestha <57122064+bishalsthadev@users.noreply.github.com> Date: Sun, 20 Sep 2026 10:12:07 +0545 Subject: [PATCH] Plugins: Use is_plugin_active() for the edit warning in the Plugin Editor. The "Making changes to active plugins is not recommended" warning used a raw in_array() check against the active_plugins option, which doesn't account for network-activated plugins. The page heading a few lines above already uses is_plugin_active() correctly, so use the same helper here to keep the two checks consistent. --- src/wp-admin/plugin-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index b129a7652b28b..c72333fe144b9 100644 --- a/src/wp-admin/plugin-editor.php +++ b/src/wp-admin/plugin-editor.php @@ -315,7 +315,7 @@