Ticket #15308: t15308-admin-bar-updates-title-attribute.diff
File t15308-admin-bar-updates-title-attribute.diff, 893 bytes (added by , 14 years ago) |
---|
-
wp-includes/admin-bar.php
275 275 276 276 $update_title = !empty($update_title) ? esc_attr(implode(', ', $update_title)) : ''; 277 277 278 $update_title = sprintf( __('Updates %s'), "<span id='ab-updates' class='count-$update_count' title='$update_title'><span class='update-count'>" . number_format_i18n($update_count) . "</span></span>" ); 278 $update_title = "<span title='$update_title'>"; 279 $update_title .= sprintf( __('Updates %s'), "<span id='ab-updates' class='count-$update_count' class='update-count'>" . number_format_i18n($update_count) . '</span>' ); 280 $update_title .= '</span>'; 279 281 280 282 $wp_admin_bar->add_menu( array( 'id' => 'updates', 'title' => $update_title, 'href' => admin_url('update-core.php') ) ); 281 283 }