Compare commits

..

No commits in common. "a3f1555919d1ba66c1133230be610f42b705cda7" and "9d5f8481dfeddf806b30c2575e83ff6880e4ec7e" have entirely different histories.

3 changed files with 6 additions and 12 deletions

View File

@ -729,7 +729,7 @@ function _wp_build_title_and_description_for_taxonomy_block_template( $taxonomy,
* It is self-sufficient in that it only uses information passed as arguments; it does not
* query the database for additional information.
*
* @since 6.5.3
* @since 6.5.1
* @access private
*
* @param WP_Post $post Template post.
@ -1505,7 +1505,7 @@ function get_template_hierarchy( $slug, $is_custom = false, $template_prefix = '
*/
function inject_ignored_hooked_blocks_metadata_attributes( $changes, $deprecated = null ) {
if ( null !== $deprecated ) {
_deprecated_argument( __FUNCTION__, '6.5.3' );
_deprecated_argument( __FUNCTION__, '6.5.1' );
}
$hooked_blocks = get_hooked_blocks();

View File

@ -1629,7 +1629,7 @@ class WP_HTML_Tag_Processor {
* `<!` transitions to markup declaration open state
* https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state
*/
if ( ! $this->is_closing_tag && '!' === $html[ $at + 1 ] ) {
if ( '!' === $html[ $at + 1 ] ) {
/*
* `<!--` transitions to a comment state apply further comment rules.
* https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state
@ -1809,12 +1809,6 @@ class WP_HTML_Tag_Processor {
* See https://html.spec.whatwg.org/#parse-error-missing-end-tag-name
*/
if ( '>' === $html[ $at + 1 ] ) {
// `<>` is interpreted as plaintext.
if ( ! $this->is_closing_tag ) {
++$at;
continue;
}
$this->parser_state = self::STATE_PRESUMPTUOUS_TAG;
$this->token_length = $at + 2 - $this->token_starts_at;
$this->bytes_already_parsed = $at + 2;
@ -1825,7 +1819,7 @@ class WP_HTML_Tag_Processor {
* `<?` transitions to a bogus comment state skip to the nearest >
* See https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state
*/
if ( ! $this->is_closing_tag && '?' === $html[ $at + 1 ] ) {
if ( '?' === $html[ $at + 1 ] ) {
$closer_at = strpos( $html, '>', $at + 2 );
if ( false === $closer_at ) {
$this->parser_state = self::STATE_INCOMPLETE_INPUT;
@ -1897,7 +1891,7 @@ class WP_HTML_Tag_Processor {
return false;
}
$closer_at = strpos( $html, '>', $at + 2 );
$closer_at = strpos( $html, '>', $at + 3 );
if ( false === $closer_at ) {
$this->parser_state = self::STATE_INCOMPLETE_INPUT;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-alpha-58042';
$wp_version = '6.6-alpha-58039';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.