diff --git a/src/wp-includes/class-wp-admin-bar.php b/src/wp-includes/class-wp-admin-bar.php index b7d07214bc..3568be0789 100644 --- a/src/wp-includes/class-wp-admin-bar.php +++ b/src/wp-includes/class-wp-admin-bar.php @@ -495,7 +495,7 @@ class WP_Admin_Bar { if ( $has_link ) { $attributes = array( 'onclick', 'target', 'title', 'rel', 'lang', 'dir' ); - echo ""; + echo "meta['onclick'] ) ) { echo ' onclick="' . esc_js( $node->meta['onclick'] ) . '"'; }