Ticket #19403: 19403.diff
| File 19403.diff, 1.1 KB (added by , 14 years ago) |
|---|
-
wp-includes/admin-bar.php
518 518 $awaiting_mod = $awaiting_mod->moderated; 519 519 $awaiting_title = esc_attr( sprintf( _n( '%s comment awaiting moderation', '%s comments awaiting moderation', $awaiting_mod ), number_format_i18n( $awaiting_mod ) ) ); 520 520 521 $icon = "<div class='ab-comments-icon' title='$awaiting_title'>";522 $icon .= "<div class='ab-comments-icon-body'></div>";523 $icon .= "<div class='ab-comments-icon-arrow'></div>";524 $icon .= "</div>";521 $icon = '<div class="ab-comments-icon">'; 522 $icon .= '<div class="ab-comments-icon-body"></div>'; 523 $icon .= '<div class="ab-comments-icon-arrow"></div>'; 524 $icon .= '</div>'; 525 525 526 526 $title = '<span id="ab-awaiting-mod" class="awaiting-mod pending-count count-' . $awaiting_mod . '">' . number_format_i18n( $awaiting_mod ) . '</span>'; 527 527 … … 529 529 'id' => 'comments', 530 530 'title' => $icon . $title, 531 531 'href' => admin_url('edit-comments.php'), 532 'meta' => array( 'title' => $awaiting_title ), 532 533 ) ); 533 534 } 534 535