Ticket #16611: 16611.diff
| File 16611.diff, 1.4 KB (added by , 15 years ago) |
|---|
-
wp-admin/includes/class-wp-list-table.php
420 420 if ( $pending_comments ) 421 421 echo '<strong>'; 422 422 423 $link = "<a href='" . add_query_arg( 'p', $post_id, admin_url('edit-comments.php') ) . "' title='$pending_phrase' class='post-com-count'><span class='comment-count'>%s</span></a>"; 423 $link = "<a href='%s' title='" . esc_attr( $pending_phrase ) . "' class='post-com-count'><span class='comment-count'>%s</span></a>"; 424 $url = add_query_arg( 'p', $post_id, admin_url( 'edit-comments.php' ) ); 424 425 425 426 comments_number( 426 sprintf( $link, /* translators: comment count link */ _x( '0', 'comment count' ) ),427 sprintf( $link, /* translators: comment count link */ _x( '1', 'comment count' ) ),428 sprintf( $link, /* translators: comment count link: % will be substituted by comment count */ _x( '%', 'comment count' ) )427 sprintf( $link, $url, /* translators: comment count link */ _x( '0', 'comment count' ) ), 428 sprintf( $link, $url, /* translators: comment count link */ _x( '1', 'comment count' ) ), 429 sprintf( $link, $url, /* translators: comment count link: % will be substituted by comment count */ _x( '%', 'comment count' ) ) 429 430 ); 430 431 431 432 if ( $pending_comments )