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

git-svn-id: http://svn.automattic.com/wordpress/trunk@13100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin
2010-02-13 08:49:27 +00:00
parent 7ad40486aa
commit 8aede6cab7
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 } ?>