Networks and Sites: Remove unused `$wpdb` global in `update_blog_details()`.
Follow-up to [43548]. Props viralsampat. See #60021. Built from https://develop.svn.wordpress.org/trunk@57898 git-svn-id: http://core.svn.wordpress.org/trunk@57399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11dfccd894
commit
1dc3f87870
|
@ -293,15 +293,11 @@ function refresh_blog_details( $blog_id = 0 ) {
|
|||
*
|
||||
* @since MU (3.0.0)
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $blog_id Blog ID.
|
||||
* @param array $details Array of details keyed by blogs table field names.
|
||||
* @return bool True if update succeeds, false otherwise.
|
||||
*/
|
||||
function update_blog_details( $blog_id, $details = array() ) {
|
||||
global $wpdb;
|
||||
|
||||
if ( empty( $details ) ) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.6-alpha-57897';
|
||||
$wp_version = '6.6-alpha-57898';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue