Allow plugins to filter the dashboard counts sentance. Fixes #6244 props nerrad.

git-svn-id: http://svn.automattic.com/wordpress/trunk@7330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-03-16 10:04:42 +00:00
parent 9c49dc2836
commit ce5dd073fb
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ $post_type_text = implode(', ', $post_type_texts);
// There is always a category
$sentence = sprintf( __( 'You have %1$s, contained within %2$s and %3$s.' ), $post_type_text, $cats_text, $tags_text );
$sentence = apply_filters( 'dashboard_count_sentance', $sentence, $post_type_text, $cats_text, $tags_text );
?>
<p class="youhave"><?php echo $sentence; ?></p>