- Timestamp:
- 10/02/2023 11:25:35 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-open-elements.php
r56380 r56753 111 111 * @return bool Whether the element was found in a specific scope. 112 112 */ 113 public function has_element_in_specific_scope( $tag_name, $termination_list ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable113 public function has_element_in_specific_scope( $tag_name, $termination_list ) { 114 114 foreach ( $this->walk_up() as $node ) { 115 115 if ( $node->node_name === $tag_name ) { … … 168 168 * @return bool Whether given element is in scope. 169 169 */ 170 public function has_element_in_list_item_scope( $tag_name ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable170 public function has_element_in_list_item_scope( $tag_name ) { 171 171 throw new WP_HTML_Unsupported_Exception( 'Cannot process elements depending on list item scope.' ); 172 172 … … 200 200 * @return bool Whether given element is in scope. 201 201 */ 202 public function has_element_in_table_scope( $tag_name ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable202 public function has_element_in_table_scope( $tag_name ) { 203 203 throw new WP_HTML_Unsupported_Exception( 'Cannot process elements depending on table scope.' ); 204 204 … … 218 218 * @return bool Whether given element is in scope. 219 219 */ 220 public function has_element_in_select_scope( $tag_name ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable220 public function has_element_in_select_scope( $tag_name ) { 221 221 throw new WP_HTML_Unsupported_Exception( 'Cannot process elements depending on select scope.' ); 222 222
Note: See TracChangeset
for help on using the changeset viewer.