Make WordPress Core

Changeset 57898

Timestamp:
03/29/2024 11:40:50 AM (4 months ago)
Author:
SergeyBiryukov
Message:

Networks and Sites: Remove unused $wpdb global in update_blog_details().

Follow-up to [43548].

Props viralsampat.
See #60021.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-blogs.php

    r57874 r57898  
    294294 * @since MU (3.0.0)
    295295 *
    296  * @global wpdb $wpdb WordPress database abstraction object.
    297  *
    298296 * @param int   $blog_id Blog ID.
    299297 * @param array $details Array of details keyed by blogs table field names.
     
    301299 */
    302300function update_blog_details( $blog_id, $details = array() ) {
    303     global $wpdb;
    304 
    305301    if ( empty( $details ) ) {
    306302        return false;
Note: See TracChangeset for help on using the changeset viewer.