mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
HTML API: Ensure tag processor recognizes SCRIPT tag closers.
Address edge cases where SCRIPT tag closers were not detected and the processor remained paused on an incomplete token. Developed in https://github.com/WordPress/wordpress-develop/pull/12184. Props jonsurrell, dmsnell. See #65372. Built from https://develop.svn.wordpress.org/trunk@62509 git-svn-id: http://core.svn.wordpress.org/trunk@61790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1619,7 +1619,6 @@ class WP_HTML_Tag_Processor {
|
||||
( 'p' === $html[ $at + 4 ] || 'P' === $html[ $at + 4 ] ) &&
|
||||
( 't' === $html[ $at + 5 ] || 'T' === $html[ $at + 5 ] )
|
||||
) ) {
|
||||
++$at;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.1-alpha-62508';
|
||||
$wp_version = '7.1-alpha-62509';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user