We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3971e2b commit 6316e4bCopy full SHA for 6316e4b
1 file changed
src/wp-includes/html-api/class-wp-html-processor.php
@@ -2261,7 +2261,7 @@ private function clear_stack_to_table_context() {
2261
) {
2262
break;
2263
}
2264
- $this->state->stack_of_open_elements->remove_node( $item );
+ $this->state->stack_of_open_elements->pop();
2265
2266
2267
@@ -2287,7 +2287,7 @@ private function clear_stack_to_table_body_context() {
2287
2288
2289
2290
2291
2292
2293
@@ -2311,7 +2311,7 @@ private function clear_stack_to_table_row_context() {
2311
2312
2313
2314
2315
2316
2317
0 commit comments