Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086

git-svn-id: https://develop.svn.wordpress.org/trunk@13100 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-02-13 08:49:27 +00:00
parent a5ad001b73
commit 8be6c296b1
5 changed files with 50 additions and 31 deletions

View File

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