WordPress.org

Make WordPress Core

Changeset 18319


Ignore:
Timestamp:
06/18/11 15:02:58 (3 years ago)
Author:
nacin
Message:

Plugins per page should default to 999, not 20. Fixes minor (but annoying) 3.0 to 3.1 regression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r18254 r18319  
    137137        } 
    138138 
    139         $plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ) ); 
     139        $plugins_per_page = $this->get_items_per_page( str_replace( '-', '_', $screen->id . '_per_page' ), 999 ); 
    140140 
    141141        $start = ( $page - 1 ) * $plugins_per_page; 
Note: See TracChangeset for help on using the changeset viewer.