WordPress.org

Make WordPress Core

Changeset 17082


Ignore:
Timestamp:
12/20/10 16:18:13 (3 years ago)
Author:
ryan
Message:

Consistently use edit_posts_per_page. Props sorich87. fixes #14135

File:
1 edited

Legend:

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

    r17007 r17082  
    18951895        $per_page = apply_filters( $option, $per_page ); 
    18961896 
     1897    // Back compat 
     1898    if ( isset( $screen->post_type ) ) 
     1899        $per_page = apply_filters( 'edit_posts_per_page', $per_page, $screen->post_type ); 
     1900 
    18971901    $return = "<div class='screen-options'>\n"; 
    18981902    if ( !empty($per_page_label) ) 
Note: See TracChangeset for help on using the changeset viewer.