From 22230cb94e5befd9fdcd325908236f6b1d7f24f6 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 22 Feb 2011 10:12:38 +0000 Subject: [PATCH] Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@17481 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/class-wp-list-table.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 086a163b6e..1d80a7ba43 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -420,9 +420,7 @@ class WP_List_Table { if ( $pending_comments ) echo ''; - $link = "%s"; - - printf( $link, number_format_i18n( get_comments_number() ) ); + echo "" . number_format_i18n( get_comments_number() ) . ""; if ( $pending_comments ) echo '';