diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index cb015d4f01..7ae1c1b550 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1894,6 +1894,10 @@ function screen_options($screen) { else $per_page = apply_filters( $option, $per_page ); + // Back compat + if ( isset( $screen->post_type ) ) + $per_page = apply_filters( 'edit_posts_per_page', $per_page, $screen->post_type ); + $return = "