mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
9c49dc2836
commit
ce5dd073fb
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user