Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jb authored and Jb committed Feb 26, 2020
2 parents 6ef0e8e + 757e852 commit 1eb1a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-autoupdates.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function wp_autoupdates_enabler() {
$wp_auto_update_plugins = array_diff( $wp_auto_update_plugins, array( $plugin ) );
$action_type = 'disable-autoupdate=true';
} else {
$wp_auto_update_plugins[] = $plugin;
array_push( $wp_auto_update_plugins, $plugin );
$action_type = 'enable-autoupdate=true';
}
update_site_option( 'wp_auto_update_plugins', $wp_auto_update_plugins );
Expand Down

0 comments on commit 1eb1a42

Please sign in to comment.