Make WordPress Core

Ticket #25533: 25533.6.diff

File 25533.6.diff, 819 bytes (added by SergeyBiryukov, 13 years ago)
  • src/wp-includes/user.php

     
    663663                }
    664664
    665665                /**
    666                  * Filter SELECT_FOUND_ROWS value for the current WP_User_Query instance.
     666                 * Filter SELECT FOUND_ROWS() query for the current WP_User_Query instance.
    667667                 *
    668668                 * @since 3.2.0
    669669                 *
    670670                 * @global wpdb $wpdb WordPress database object.
    671671                 *
    672                  * @param string $sql The SELECT_FOUND_ROWS() value for the current WP_User_Query.
     672                 * @param string $sql The SELECT FOUND_ROWS() query for the current WP_User_Query.
    673673                 */
    674674                if ( isset( $qv['count_total'] ) && $qv['count_total'] )
    675675                        $this->total_users = $wpdb->get_var( apply_filters( 'found_users_query', 'SELECT FOUND_ROWS()' ) );