Changeset 12015 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 10/09/2009 09:02:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r12008 r12015 237 237 238 238 // Total Comments 239 $num = number_format_i18n($num_comm->total_comments);239 $num = '<span class="total-count">' . number_format_i18n($num_comm->total_comments) . '</span>'; 240 240 $text = _n( 'Comment', 'Comments', $num_comm->total_comments ); 241 241 if ( current_user_can( 'moderate_comments' ) ) { … … 259 259 260 260 // Approved Comments 261 $num = number_format_i18n($num_comm->approved);261 $num = '<span class="approved-count">' . number_format_i18n($num_comm->approved) . '</span>'; 262 262 $text = _nc( 'Approved|Right Now', 'Approved', $num_comm->approved ); 263 263 if ( current_user_can( 'moderate_comments' ) ) { … … 281 281 282 282 // Pending Comments 283 $num = number_format_i18n($num_comm->moderated);283 $num = '<span class="pending-count">' . number_format_i18n($num_comm->moderated) . '</span>'; 284 284 $text = _n( 'Pending', 'Pending', $num_comm->moderated ); 285 285 if ( current_user_can( 'moderate_comments' ) ) { 286 $num = "<a href='edit-comments.php?comment_status=moderated'> <span class='pending-count'>$num</span></a>";286 $num = "<a href='edit-comments.php?comment_status=moderated'>$num</a>"; 287 287 $text = "<a class='waiting' href='edit-comments.php?comment_status=moderated'>$text</a>"; 288 288 }
Note: See TracChangeset
for help on using the changeset viewer.