Fix notice in post.php, props sirzooro, fixes #11132

git-svn-id: http://svn.automattic.com/wordpress/trunk@12184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-11-13 07:11:46 +00:00
parent dc7d0f1dff
commit 73666bae79
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ if ( $page_links )
<?php } else { // have_posts() ?>
<div class="clear"></div>
<p><?php
if ( 'trash' == $_GET['post_status'] )
if ( isset($_GET['post_status']) && 'trash' == $_GET['post_status'] )
_e('No posts found in the trash');
else
_e('No posts found');