- Timestamp:
- 07/22/2024 11:19:20 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r58779 r58781 989 989 */ 990 990 private function step_initial(): bool { 991 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");991 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_INITIAL . ' state.' ); 992 992 } 993 993 … … 1008 1008 */ 1009 1009 private function step_before_html(): bool { 1010 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");1010 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_BEFORE_HTML . ' state.' ); 1011 1011 } 1012 1012 … … 1027 1027 */ 1028 1028 private function step_before_head(): bool { 1029 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");1029 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_BEFORE_HEAD . ' state.' ); 1030 1030 } 1031 1031 … … 1046 1046 */ 1047 1047 private function step_in_head(): bool { 1048 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");1048 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_HEAD . ' state.' ); 1049 1049 } 1050 1050 … … 1065 1065 */ 1066 1066 private function step_in_head_noscript(): bool { 1067 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");1067 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_HEAD_NOSCRIPT . ' state.' ); 1068 1068 } 1069 1069 … … 1084 1084 */ 1085 1085 private function step_after_head(): bool { 1086 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");1086 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_AFTER_HEAD . ' state.' ); 1087 1087 } 1088 1088 … … 2128 2128 */ 2129 2129 private function step_in_table(): bool { 2130 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2130 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_TABLE . ' state.' ); 2131 2131 } 2132 2132 … … 2147 2147 */ 2148 2148 private function step_in_table_text(): bool { 2149 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2149 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_TABLE_TEXT . ' state.' ); 2150 2150 } 2151 2151 … … 2166 2166 */ 2167 2167 private function step_in_caption(): bool { 2168 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2168 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_CAPTION . ' state.' ); 2169 2169 } 2170 2170 … … 2185 2185 */ 2186 2186 private function step_in_column_group(): bool { 2187 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2187 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_COLUMN_GROUP . ' state.' ); 2188 2188 } 2189 2189 … … 2204 2204 */ 2205 2205 private function step_in_table_body(): bool { 2206 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2206 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_TABLE_BODY . ' state.' ); 2207 2207 } 2208 2208 … … 2223 2223 */ 2224 2224 private function step_in_row(): bool { 2225 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2225 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_ROW . ' state.' ); 2226 2226 } 2227 2227 … … 2242 2242 */ 2243 2243 private function step_in_cell(): bool { 2244 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2244 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_CELL . ' state.' ); 2245 2245 } 2246 2246 … … 2442 2442 */ 2443 2443 private function step_in_select_in_table(): bool { 2444 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2444 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_SELECT_IN_TABLE . ' state.' ); 2445 2445 } 2446 2446 … … 2461 2461 */ 2462 2462 private function step_in_template(): bool { 2463 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2463 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_TEMPLATE . ' state.' ); 2464 2464 } 2465 2465 … … 2480 2480 */ 2481 2481 private function step_after_body(): bool { 2482 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2482 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_AFTER_BODY . ' state.' ); 2483 2483 } 2484 2484 … … 2499 2499 */ 2500 2500 private function step_in_frameset(): bool { 2501 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2501 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_FRAMESET . ' state.' ); 2502 2502 } 2503 2503 … … 2518 2518 */ 2519 2519 private function step_after_frameset(): bool { 2520 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2520 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_AFTER_FRAMESET . ' state.' ); 2521 2521 } 2522 2522 … … 2537 2537 */ 2538 2538 private function step_after_after_body(): bool { 2539 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2539 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_AFTER_AFTER_BODY . ' state.' ); 2540 2540 } 2541 2541 … … 2556 2556 */ 2557 2557 private function step_after_after_frameset(): bool { 2558 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2558 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_AFTER_AFTER_FRAMESET . ' state.' ); 2559 2559 } 2560 2560 … … 2575 2575 */ 2576 2576 private function step_in_foreign_content(): bool { 2577 $this->bail( "No support for parsing in the '{$this->state->insertion_mode}' state.");2577 $this->bail( 'No support for parsing in the ' . WP_HTML_Processor_State::INSERTION_MODE_IN_FOREIGN_CONTENT . ' state.' ); 2578 2578 } 2579 2579
Note: See TracChangeset
for help on using the changeset viewer.