WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/30/2016 05:01:02 AM (4 years ago)
Author:
jeremyfelt
Message:

Admin Bar: Remove unused ID ab-awaiting-mod from comment count.

This selector has been unused since [19516]. The (now) more appropriate .awaiting-mod is used instead.

Props Presskopp.
Fixes #37901.

File:
1 edited

Legend:

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

    r38660 r38683  
    728728
    729729    $icon  = '<span class="ab-icon"></span>';
    730     $title = '<span id="ab-awaiting-mod" class="ab-label awaiting-mod pending-count count-' . $awaiting_mod . '" aria-hidden="true">' . number_format_i18n( $awaiting_mod ) . '</span>';
     730    $title = '<span class="ab-label awaiting-mod pending-count count-' . $awaiting_mod . '" aria-hidden="true">' . number_format_i18n( $awaiting_mod ) . '</span>';
    731731    $title .= '<span class="screen-reader-text">' . $awaiting_text . '</span>';
    732732
Note: See TracChangeset for help on using the changeset viewer.