More informative error for when there are no popular tags. fixes #8522

git-svn-id: http://svn.automattic.com/wordpress/trunk@10142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-12-09 12:24:14 +00:00
parent 445884684a
commit 91082d58b1
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ case 'get-tagcloud' :
$tags = get_tags( array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC' ) );
if ( empty( $tags ) )
die('0');
die( __('No tags found!') );
foreach ( $tags as $key => $tag ) {
$tags[ $key ]->link = '#';