Merged in feature/314-dev-dev01 (pull request #24)

auto-patch  314-dev-dev01-2024-01-25T04_09_02

* auto-patch  314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -61,7 +61,7 @@ class WPSEO_Tracking_Plugin_Data implements WPSEO_Collection {
public function set_auto_update_plugin_list() {
$auto_update_plugins = [];
$auto_update_plugin_files = \get_option( 'auto_update_plugins' );
$auto_update_plugin_files = get_option( 'auto_update_plugins' );
if ( $auto_update_plugin_files ) {
foreach ( $auto_update_plugin_files as $auto_update_plugin ) {
$data = get_plugin_data( WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $auto_update_plugin );
@@ -84,7 +84,7 @@ class WPSEO_Tracking_Plugin_Data implements WPSEO_Collection {
return [
'name' => $plugin['Name'],
'version' => $plugin['Version'],
'auto_updating' => \array_key_exists( $plugin['Name'], $this->auto_update_plugin_list ),
'auto_updating' => array_key_exists( $plugin['Name'], $this->auto_update_plugin_list ),
];
}
}