mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user