WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2011 11:59:10 PM (10 years ago)
Author:
koopersmith
Message:

Print title attributes for linkless toolbar items. see #19277.

File:
1 edited

Legend:

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

    r19484 r19499  
    270270                ?>><?php
    271271            else:
    272                 ?><div class="ab-item ab-empty-item" <?php echo $aria_attributes; ?>><?php
     272                ?><div class="ab-item ab-empty-item" <?php echo $aria_attributes;
     273                if ( ! empty( $node->meta['title'] ) ) :
     274                    ?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
     275                endif;
     276                ?>><?php
    273277            endif;
    274278
Note: See TracChangeset for help on using the changeset viewer.