- Timestamp:
- 09/11/2024 04:11:32 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r59001 r59014 4728 4728 $tag_name = parent::get_tag(); 4729 4729 4730 switch ( $tag_name ) { 4731 case 'IMAGE': 4732 /* 4733 * > A start tag whose tag name is "image" 4734 * > Change the token's tag name to "img" and reprocess it. (Don't ask.) 4735 */ 4736 return 'IMG'; 4737 4738 default: 4739 return $tag_name; 4740 } 4730 /* 4731 * > A start tag whose tag name is "image" 4732 * > Change the token's tag name to "img" and reprocess it. (Don't ask.) 4733 */ 4734 return ( 'IMAGE' === $tag_name && 'html' === $this->get_namespace() ) 4735 ? 'IMG' 4736 : $tag_name; 4741 4737 } 4742 4738
Note: See TracChangeset
for help on using the changeset viewer.