Make WordPress Core


Ignore:
Timestamp:
11/18/2010 07:12:48 PM (14 years ago)
Author:
nacin
Message:

More param fixes, props duck_. see #14783.

File:
1 edited

Legend:

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

    r16359 r16469  
    665665 * @since MU
    666666 *
    667  * @param $deprecated Not used
     667 * @param mixed $deprecated Not used
    668668 * @param int $start The offset
    669669 * @param int $quantity The maximum number of blogs to retrieve. Default is 40.
     
    672672function get_last_updated( $deprecated = '', $start = 0, $quantity = 40 ) {
    673673    global $wpdb;
     674   
     675    if ( ! empty( $deprecated ) )
     676        _deprecated_argument( __FUNCTION__, 'MU' ); // never used
     677   
    674678    return $wpdb->get_results( $wpdb->prepare("SELECT blog_id, domain, path FROM $wpdb->blogs WHERE site_id = %d AND public = '1' AND archived = '0' AND mature = '0' AND spam = '0' AND deleted = '0' AND last_updated != '0000-00-00 00:00:00' ORDER BY last_updated DESC limit %d, %d", $wpdb->siteid, $start, $quantity ) , ARRAY_A );
    675679}
Note: See TracChangeset for help on using the changeset viewer.