mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
fd1cbd8980
The WP_HTML_Processor::has_bookmark() method has not correctly reported bookmarks which have been set, because it wraps the given bookmark names when setting them. Additionally, WP_HTML_Processor::seek() does not seek to correct location if HTML has been updated because it wasn't flushing enqueued updates to the document. In this patch both problems are resolved and added tests guard these behaviors against future regressions. Developed in https://github.com/WordPress/wordpress-develop/pull/6039 Discussed in https://core.trac.wordpress.org/ticket/60474 Follow-up to [56274]. Props dmsnell, jonsurrell. Fixes #60474. Built from https://develop.svn.wordpress.org/trunk@57582 git-svn-id: http://core.svn.wordpress.org/trunk@57083 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-html-active-formatting-elements.php | ||
class-wp-html-attribute-token.php | ||
class-wp-html-open-elements.php | ||
class-wp-html-processor-state.php | ||
class-wp-html-processor.php | ||
class-wp-html-span.php | ||
class-wp-html-tag-processor.php | ||
class-wp-html-text-replacement.php | ||
class-wp-html-token.php | ||
class-wp-html-unsupported-exception.php |