Changeset 13791 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 03/22/2010 01:31:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r13531 r13791 290 290 $num = '<span class="total-count">' . number_format_i18n($num_comm->total_comments) . '</span>'; 291 291 $text = _n( 'Comment', 'Comments', $num_comm->total_comments ); 292 echo '<td class="b b-comments"><a href="edit-comments.php">' . $num . '</a></td>'; 293 echo '<td class="last t comments"><a href="edit-comments.php">' . $text . '</a></td>'; 292 if ( current_user_can( 'moderate_comments' ) ) { 293 $num = '<a href="edit-comments.php">' . $num . '</a>'; 294 $text = '<a href="edit-comments.php">' . $text . '</a>'; 295 } 296 echo '<td class="b b-comments">' . $num . '</td>'; 297 echo '<td class="last t comments">' . $text . '</td>'; 294 298 295 299 echo '</tr><tr>';
Note: See TracChangeset
for help on using the changeset viewer.