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

git-svn-id: https://develop.svn.wordpress.org/trunk@12184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-11-13 07:11:46 +00:00
parent c875acd15d
commit a881ca3321
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');