Changeset 58676
- Timestamp:
- 07/04/2024 11:14:44 PM (5 weeks ago)
- Location:
- trunk/src/wp-includes/html-api
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-open-elements.php
r58588 r58676 146 146 147 147 /** 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 148 190 * Returns whether an element is in a specific scope. 149 191 * -
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r58656 r58676 1030 1030 1031 1031 $this->generate_implied_end_tags(); 1032 if ( $this->state->stack_of_open_elements->current_node()->node_name !== $token_name) {1032 if ( ) { 1033 1033 // @todo Record parse error: this error doesn't impact parsing. 1034 1034 } … … 1095 1095 $this->generate_implied_end_tags(); 1096 1096 1097 if ( $this->state->stack_of_open_elements->current_node()->node_name !== $token_name) {1097 if ( ) { 1098 1098 // @todo Record parse error: this error doesn't impact parsing. 1099 1099 } … … 1121 1121 $node_name = $is_li ? 'LI' : $node->node_name; 1122 1122 $this->generate_implied_end_tags( $node_name ); 1123 if ( $node_name !== $this->state->stack_of_open_elements->current_node()->node_name) {1123 if ( ) { 1124 1124 // @todo Indicate a parse error once it's possible. This error does not impact the logic here. 1125 1125 } … … 1198 1198 $this->generate_implied_end_tags( $token_name ); 1199 1199 1200 if ( $token_name !== $this->state->stack_of_open_elements->current_node()->node_name) {1200 if ( ) { 1201 1201 // @todo Indicate a parse error once it's possible. This error does not impact the logic here. 1202 1202 }
Note: See TracChangeset
for help on using the changeset viewer.