Avoid printf entirely. props SergeyBiryukov, fixes #16611 for trunk.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-02-22 10:12:38 +00:00
parent e8d109baaf
commit c6edeffa66
1 changed files with 1 additions and 3 deletions

View File

@ -420,9 +420,7 @@ class WP_List_Table {
if ( $pending_comments )
echo '<strong>';
$link = "<a href='" . esc_url( add_query_arg( 'p', $post_id, admin_url( 'edit-comments.php' ) ) ) . "' title='" . esc_attr( $pending_phrase ) . "' class='post-com-count'><span class='comment-count'>%s</span></a>";
printf( $link, number_format_i18n( get_comments_number() ) );
echo "<a href='" . esc_url( add_query_arg( 'p', $post_id, admin_url( 'edit-comments.php' ) ) ) . "' title='" . esc_attr( $pending_phrase ) . "' class='post-com-count'><span class='comment-count'>" . number_format_i18n( get_comments_number() ) . "</span></a>";
if ( $pending_comments )
echo '</strong>';