WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/02/2011 10:55:10 AM (10 years ago)
Author:
nacin
Message:

Use correct variables. props garyc40, see #15503.

File:
1 edited

Legend:

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

    r17202 r17206  
    484484        if ( $current == 1 )
    485485            $disable_first = ' disabled';
    486         if ( $current == $total_items )
     486        if ( $current == $total_pages )
    487487            $disable_last = ' disabled';
    488488
Note: See TracChangeset for help on using the changeset viewer.