Skip to content

Commit

Permalink
Networks and Sites: Remove unused $wpdb global in `update_blog_deta…
Browse files Browse the repository at this point in the history
…ils()`.

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
  • Loading branch information
SergeyBiryukov committed Mar 29, 2024
1 parent 11dfccd commit 1dc3f87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions wp-includes/ms-blogs.php
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Expand Up @@ -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.
Expand Down

0 comments on commit 1dc3f87

Please sign in to comment.