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:
parent
c875acd15d
commit
a881ca3321
@ -364,7 +364,7 @@ if ( $page_links )
|
|||||||
<?php } else { // have_posts() ?>
|
<?php } else { // have_posts() ?>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<p><?php
|
<p><?php
|
||||||
if ( 'trash' == $_GET['post_status'] )
|
if ( isset($_GET['post_status']) && 'trash' == $_GET['post_status'] )
|
||||||
_e('No posts found in the trash');
|
_e('No posts found in the trash');
|
||||||
else
|
else
|
||||||
_e('No posts found');
|
_e('No posts found');
|
||||||
|
Loading…
Reference in New Issue
Block a user