Make WordPress Core


Ignore:
Timestamp:
05/13/2009 04:26:40 AM (15 years ago)
Author:
ryan
Message:

Default plugins per page to 999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r11312 r11314  
    36383638    $option = str_replace('-', '_', "${screen}_per_page");
    36393639    $per_page = get_user_option($option);
    3640     if ( empty($per_page) )
    3641         $per_page = 20;
     3640    if ( empty($per_page) ) {
     3641        if ( 'plugins' == $screen )
     3642            $per_page = 999;
     3643        else
     3644            $per_page = 20;
     3645    }
    36423646
    36433647    $return = '<h5>' . __('Options') . "</h5>\n";
Note: See TracChangeset for help on using the changeset viewer.