Skip to content

Commit

Permalink
Merge pull request #201 from gonzomir/fix-active-sitewide-plugins-filter
Browse files Browse the repository at this point in the history
Fix the added elements to the sitewide active plugins for Yoast plugins.
  • Loading branch information
roborourke authored Mar 16, 2022
2 parents 2a4b8ac + 52f80e1 commit 536a61d
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 @@ -201,7 +201,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 536a61d

Please sign in to comment.