| 1 | Index: wp-admin/includes/class-wp-posts-list-table.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-admin/includes/class-wp-posts-list-table.php (revision 21501) |
|---|
| 4 | +++ wp-admin/includes/class-wp-posts-list-table.php (working copy) |
|---|
| 5 | @@ -300,11 +300,10 @@ |
|---|
| 6 | ); |
|---|
| 7 | } |
|---|
| 8 | |
|---|
| 9 | - function display_rows( $posts = array(), $level = 0 ) { |
|---|
| 10 | + function display_rows( $level = 0 ) { |
|---|
| 11 | global $wp_query, $post_type_object, $per_page; |
|---|
| 12 | |
|---|
| 13 | - if ( empty( $posts ) ) |
|---|
| 14 | - $posts = $wp_query->posts; |
|---|
| 15 | + $posts = $wp_query->posts; |
|---|
| 16 | |
|---|
| 17 | add_filter( 'the_title', 'esc_html' ); |
|---|
| 18 | |
|---|