Title: Saul Diaz's Replies | WordPress.org

---

# Saul Diaz

  [  ](https://wordpress.org/support/users/idevol/)

 *   [Profile](https://wordpress.org/support/users/idevol/)
 *   [Topics Started](https://wordpress.org/support/users/idevol/topics/)
 *   [Replies Created](https://wordpress.org/support/users/idevol/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/idevol/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/idevol/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/idevol/engagements/)
 *   [Favorites](https://wordpress.org/support/users/idevol/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [SELECT SQL_CALC_FOUND_ROWS causing crashes](https://wordpress.org/support/topic/select-sql_calc_found_rows-causing-crashes/)
 *  [Saul Diaz](https://wordpress.org/support/users/idevol/)
 * (@idevol)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/select-sql_calc_found_rows-causing-crashes/#post-2212363)
 * The problem with slow query SELECT SQL_CALC_FOUND_ROWS because it had resolved
   modifying wp-includes/query.php, the WordPress 3.3.1 core, when we updated to
   version 3.4.1 we noticed that in wp-admin to posts not visualized paging. To 
   solve the problem using the solution proposed phkcorp2005, without modifying 
   the core WordPress 3.4.1 but still had the problem of not displaying the pagination
   in the wp-admin.
 * To solve the problem using:
 *     ```
       function no_rows_found_function($query) {
       	if (!is_admin()) {
       		$query->set( 'no_found_rows', true );
       	}
       }
       add_action('pre_get_posts','no_rows_found_function');
       ```
   

Viewing 1 replies (of 1 total)