mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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
This commit is contained in:
parent
bde3b95936
commit
e822e4578a
@ -495,7 +495,7 @@ class WP_Admin_Bar {
|
||||
|
||||
if ( $has_link ) {
|
||||
$attributes = array( 'onclick', 'target', 'title', 'rel', 'lang', 'dir' );
|
||||
echo "<a class='ab-item'$aria_attributes href='" . esc_url( $node->href ) . "'>";
|
||||
echo "<a class='ab-item'$aria_attributes href='" . esc_url( $node->href ) . "'";
|
||||
if ( ! empty( $node->meta['onclick'] ) ) {
|
||||
echo ' onclick="' . esc_js( $node->meta['onclick'] ) . '"';
|
||||
}
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user