From e822e4578a66f72b987ef6f87ea01acdd85cf363 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 8 Nov 2017 08:52:48 +0000 Subject: [PATCH] Admin Bar: Fix a HTML error introduced in [42128]. Props swissspidy. See #41057. Built from https://develop.svn.wordpress.org/trunk@42129 git-svn-id: http://core.svn.wordpress.org/trunk@41960 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-admin-bar.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-wp-admin-bar.php b/wp-includes/class-wp-admin-bar.php index b7d07214bc..3568be0789 100644 --- a/wp-includes/class-wp-admin-bar.php +++ b/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'] ) . '"'; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a2a971f7e3..f9f67b3fe3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42128'; +$wp_version = '5.0-alpha-42129'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.