From 1c64182c6bf3555995a50add7d94ba7a0c9242ff Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 8 Nov 2017 23:12:37 +0000 Subject: [PATCH] Admin Bar: Fix another HTML error introduced in [42128]. Props Otto42. See #41057. git-svn-id: https://develop.svn.wordpress.org/trunk@42131 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-admin-bar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-admin-bar.php b/src/wp-includes/class-wp-admin-bar.php index 3568be0789..3603b5be44 100644 --- a/src/wp-includes/class-wp-admin-bar.php +++ b/src/wp-includes/class-wp-admin-bar.php @@ -506,7 +506,7 @@ class WP_Admin_Bar { foreach ( $attributes as $attribute ) { if ( ! empty( $node->meta[ $attribute ] ) ) { - echo " $attribute='" . esc_attr( $node->meta[ $attribute ] ) . '"'; + echo " $attribute='" . esc_attr( $node->meta[ $attribute ] ) . "'"; } }