Make WordPress Core


Ignore:
Timestamp:
11/04/2011 03:55:00 PM (14 years ago)
Author:
azaozz
Message:

Tweaks for the admin bar comment bubble: allow JS updating the count, center the bubble when no pending comments, props duck_, fixes #18809

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r19153 r19156  
    560560    $icon .= "</div>";
    561561
    562     $title = ( $awaiting_mod ) ? '<span id="ab-awaiting-mod" class="pending-count">' . number_format_i18n( $awaiting_mod ) . '</span>' : '';
     562    $title = '<span id="ab-awaiting-mod" class="awaiting-mod pending-count count-' . $awaiting_mod . '">' . number_format_i18n( $awaiting_mod ) . '</span>';
    563563
    564564    $wp_admin_bar->add_menu( array(
Note: See TracChangeset for help on using the changeset viewer.