APP_Bid_Collection::set_found_bids( $args )

Set the total found bids if the ‘count’ param is passed in WP_Comment_Query.


Package


    Description Description

    Executes an extra query to retrieve the count since WP_Comment_Query does not yet retrieve found rows like it does with WP_Query ‘found_posts’ Due to WP_Comment_Query bug, the ‘count’ is not retrieved correctly so we’ve added a temporary fix that does the count by executing the query with no limit params (‘offset’ and ‘number’) https://core.trac.wordpress.org/ticket/23369


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.