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:
parent
dc7d0f1dff
commit
73666bae79
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue