Skip to content

Commit

Permalink
Fixes a bug where a fatal error for an undefined variable was thrown …
Browse files Browse the repository at this point in the history
…on PHP 8+.

For more information see https://pantheon.io/docs/start-states/wordpress#20230117
  • Loading branch information
jazzsequence committed Jan 17, 2023
1 parent 7c12225 commit 1004059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/mu-plugins/loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1004059

Please sign in to comment.