WordPress.org

Make WordPress Core

Changeset 18601


Ignore:
Timestamp:
08/25/2011 06:01:49 PM (7 years ago)
Author:
ryan
Message:

Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122

File:
1 edited

Legend:

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

    r17988 r18601  
    1717    global $wpdb;
    1818
    19     // TODO: use update_blog_details
    20 
    21     $wpdb->update( $wpdb->blogs, array('last_updated' => current_time('mysql', true)), array('blog_id' => $wpdb->blogid) );
    22     refresh_blog_details( $wpdb->blogid );
     19    update_blog_details( $wpdb->blogid, array('last_updated' => current_time('mysql', true)) );
    2320
    2421    do_action( 'wpmu_blog_updated', $wpdb->blogid );
Note: See TracChangeset for help on using the changeset viewer.