From 1e9be91167820f6f1a7d08a78b54d8ebf7f56f6f Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Wed, 13 Dec 2023 19:20:51 +0100 Subject: [PATCH] Add note mentioning test --- src/wp-includes/html-api/class-wp-html-processor.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/html-api/class-wp-html-processor.php b/src/wp-includes/html-api/class-wp-html-processor.php index 6577c13136fd0..1706f980319ad 100644 --- a/src/wp-includes/html-api/class-wp-html-processor.php +++ b/src/wp-includes/html-api/class-wp-html-processor.php @@ -869,7 +869,9 @@ private function step_in_body() { * that has not been implemented yet. * * As they're implemented, they should be removed from this list. An accompanying - * test should help with this. + * test should help ensure this list is maintained. + * + * @see Tests_HtmlApi_WpHtmlProcessor::test_step_in_body_fails_on_unsupported_tags * * We throw the WP_HTML_Unsupported_Exception so we're free to implememnt * the catch-all handling for any other start and end tag.