diff --git a/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php b/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php index f1f53fff4c196..a19d56db2d7f9 100644 --- a/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php +++ b/tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php @@ -142,8 +142,8 @@ public static function build_html5_treelike_string( $fragment_context, $html ) { $indent_level = count( $p->get_breadcrumbs() ); - $t = strtolower( $p->get_tag() ); - $output .= str_repeat( $indent, $indent_level - 1 ) . "<{$t}>\n"; + $tag_name = strtolower( $p->get_tag() ); + $output .= str_repeat( $indent, $indent_level - 1 ) . "<{$tag_name}>\n"; $attribute_names = $p->get_attribute_names_with_prefix( '' ); if ( $attribute_names ) {