From 6218beabf8fac0d2a1ba71e27a0b4b02af92960b Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sun, 16 Mar 2008 10:04:42 +0000 Subject: [PATCH] Allow plugins to filter the dashboard counts sentance. Fixes #6244 props nerrad. git-svn-id: https://develop.svn.wordpress.org/trunk@7330 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/index.php b/wp-admin/index.php index deeac4e470..dd383ad564 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -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 ); ?>