From e43ead69f0adf29b4aa86b9b12b2da7361cf6152 Mon Sep 17 00:00:00 2001 From: Pantheon Automation Date: Tue, 17 Jan 2023 09:54:02 -0700 Subject: [PATCH] Fixes a bug where a fatal error for an undefined variable was thrown on PHP 8+. For more information see https://pantheon.io/docs/start-states/wordpress#20230117 --- wp-content/mu-plugins/loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/mu-plugins/loader.php b/wp-content/mu-plugins/loader.php index 5e7934ac7..791192bff 100644 --- a/wp-content/mu-plugins/loader.php +++ b/wp-content/mu-plugins/loader.php @@ -67,7 +67,7 @@ }); add_filter( 'network_admin_plugin_action_links', function ( $actions, $plugin_file, $plugin_data, $context ) use ( $pantheon_mu_plugins ) { - if ( $context !== 'mustuse' || ! in_array( $plugin_file, $hm_mu_plugins, true ) ) { + if ( $context !== 'mustuse' || ! in_array( $plugin_file, $pantheon_mu_plugins, true ) ) { return $actions; }