WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Unconfirmed] Pagination for single site

[Plugin: Unconfirmed] Pagination for single site

  • When installed in single site the pagination is not showing properly. That is because of the total record count. I have made the following change and its working now.

    if($this->is_multisite){
         $sql['select'] = str_replace( "SELECT *", "SELECT COUNT(*)", $sql['select'] );
     }
     else{
         $sql['select']  = "SELECT COUNT(u.ID) FROM $wpdb->users u INNER JOIN $wpdb->usermeta um ON ( u.ID = um.user_id )";
    }

    http://wordpress.org/extend/plugins/unconfirmed/

  • The topic ‘[Plugin: Unconfirmed] Pagination for single site’ is closed to new replies.