MS: Use *_network_option() functions throughout core.
Replaces all uses of `*_site_option()` with the corresponding "network" function. This excludes one usage in `wp-admin/admin-footer.php` that needs more investigation. Props spacedmonkey. See #28290. Built from https://develop.svn.wordpress.org/trunk@34778 git-svn-id: http://core.svn.wordpress.org/trunk@34743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1102,8 +1102,8 @@ function update_core($from, $to) {
|
||||
do_action( '_core_updated_successfully', $wp_version );
|
||||
|
||||
// Clear the option that blocks auto updates after failures, now that we've been successful.
|
||||
if ( function_exists( 'delete_site_option' ) )
|
||||
delete_site_option( 'auto_core_update_failed' );
|
||||
if ( function_exists( 'delete_network_option' ) )
|
||||
delete_network_option( 'auto_core_update_failed' );
|
||||
|
||||
return $wp_version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user