Changeset 42129
- Timestamp:
- 11/08/2017 08:51:03 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-admin-bar.php
r42128 r42129 496 496 if ( $has_link ) { 497 497 $attributes = array( 'onclick', 'target', 'title', 'rel', 'lang', 'dir' ); 498 echo "<a class='ab-item'$aria_attributes href='" . esc_url( $node->href ) . "' >";498 echo "<a class='ab-item'$aria_attributes href='" . esc_url( $node->href ) . "'"; 499 499 if ( ! empty( $node->meta['onclick'] ) ) { 500 500 echo ' onclick="' . esc_js( $node->meta['onclick'] ) . '"';
Note: See TracChangeset
for help on using the changeset viewer.