diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index 1f481f8634..db13845c97 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -123,13 +123,13 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) { * as special cases. */ if ( ! empty( $item[6] ) ) { - $img = ''; + $img = ''; if ( 'none' === $item[6] || 'div' === $item[6] ) { $img = '
'; } elseif ( 0 === strpos( $item[6], 'data:image/svg+xml;base64,' ) ) { $img = '
'; - $img_style = ' style="background-image:url(\'' . esc_attr( $item[6] ) . '\')"'; + $img_style = ' style="background-image:url(\'' . esc_url( $item[6] ) . '\')"'; $img_class = ' svg'; } elseif ( 0 === strpos( $item[6], 'dashicons-' ) ) { $img = '
'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 0513ca0e07..95c7e8b30e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-53049'; +$wp_version = '6.0-alpha-53050'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.