diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 300376197a..6bc1d005ba 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -1452,9 +1452,9 @@ function wp_kses_hair_parse( $attr ) { // phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- don't remove regex indentation $regex = '(?:' - . '[_a-zA-Z][-_a-zA-Z0-9:.]*' // Attribute name. + . '[_a-zA-Z][-_a-zA-Z0-9:.]*' // Attribute name. . '|' - . '\[\[?[^\[\]]+\]\]?' // Shortcode in the name position implies unfiltered_html. + . '\[\[?[^\[\]]+\]\]?' // Shortcode in the name position implies unfiltered_html. . ')' . '(?:' // Attribute value. . '\s*=\s*' // All values begin with '='. diff --git a/wp-includes/version.php b/wp-includes/version.php index b1aee74f1e..ec38e6d628 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48138'; +$wp_version = '5.5-alpha-48139'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.