Skip to content

Commit d74a2d6

Browse files
committed
Better variable name
1 parent 2e60e0e commit d74a2d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ public static function build_html5_treelike_string( $fragment_context, $html ) {
142142

143143
$indent_level = count( $p->get_breadcrumbs() );
144144

145-
$t = strtolower( $p->get_tag() );
146-
$output .= str_repeat( $indent, $indent_level - 1 ) . "<{$t}>\n";
145+
$tag_name = strtolower( $p->get_tag() );
146+
$output .= str_repeat( $indent, $indent_level - 1 ) . "<{$tag_name}>\n";
147147

148148
$attribute_names = $p->get_attribute_names_with_prefix( '' );
149149
if ( $attribute_names ) {

0 commit comments

Comments
 (0)