Skip to content

Commit

Permalink
Merge pull request #204 from humanmade/backport-201-to-v8-branch
Browse files Browse the repository at this point in the history
[Backport v8-branch] Fix the added elements to the sitewide active plugins for Yoast plugins.
  • Loading branch information
roborourke authored Mar 17, 2022
2 parents 319b89c + fdbeb2f commit 38d287c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/namespace.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function active_yoast_plugins( $active_plugins ) {
foreach ( YOAST_PLUGINS as $plugin_file ) {
$plugin_path = Altis\ROOT_DIR . '/vendor/yoast/' . $plugin_file;
if ( is_readable( $plugin_path ) ) {
$active_plugins[] = $plugin_file;
$active_plugins[ $plugin_file ] = time();
}
}

Expand Down

0 comments on commit 38d287c

Please sign in to comment.