WordPress.org

Make WordPress Core

Changeset 42129


Ignore:
Timestamp:
11/08/2017 08:51:03 AM (22 months ago)
Author:
pento
Message:

Admin Bar: Fix a HTML error introduced in [42128].

Props swissspidy.
See #41057.

File:
1 edited

Legend:

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

    r42128 r42129  
    496496        if ( $has_link ) {
    497497            $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 ) . "'";
    499499            if ( ! empty( $node->meta['onclick'] ) ) {
    500500                echo ' onclick="' . esc_js( $node->meta['onclick'] ) . '"';
Note: See TracChangeset for help on using the changeset viewer.