mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Restrict edit.php searches to posts. No pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
97bdfc4bbf
commit
5f7d1ae0cb
@ -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