WordPress.org

Make WordPress Core

Ticket #9307: 9307.001.diff

File 9307.001.diff, 605 bytes (added by aaroncampbell, 5 years ago)
  • trunk/wp-admin/includes/post.php

     
    815815                $orderby = 'date'; 
    816816        } 
    817817 
    818         wp("post_type=post&what_to_show=posts$post_status_q&posts_per_page=15&order=$order&orderby=$orderby"); 
     818        $posts_per_page = apply_filters('edit_posts_per_page', 15); 
    819819 
     820        wp("post_type=post&what_to_show=posts$post_status_q&posts_per_page=$posts_per_page&order=$order&orderby=$orderby"); 
     821 
    820822        return array($post_stati, $avail_post_stati); 
    821823} 
    822824