Restrict edit.php searches to posts. No pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@7111 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1f3184d2c9
commit
5275c7d335
@ -529,7 +529,7 @@ function wp_edit_posts_query( $q = false ) {
|
||||
$orderby = 'date';
|
||||
}
|
||||
|
||||
wp("what_to_show=posts$post_status_q&posts_per_page=20&order=$order&orderby=$orderby");
|
||||
wp("post_type=post&what_to_show=posts$post_status_q&posts_per_page=20&order=$order&orderby=$orderby");
|
||||
|
||||
return array($post_stati, $avail_post_stati);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user