Changeset 59001
- Timestamp:
- 09/09/2024 10:10:09 PM (4 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-processor.php
r58992 r59001 2771 2771 } 2772 2772 } 2773 2774 $this->bail( 'Should not have been able to reach end of IN BODY processing. Check HTML API code.' ); 2775 // This unnecessary return prevents tools from inaccurately reporting type errors. 2776 return false; 2773 2777 } 2774 2778 … … 4646 4650 } 4647 4651 } 4652 4653 $this->bail( 'Should not have been able to reach end of IN FOREIGN CONTENT processing. Check HTML API code.' ); 4654 // This unnecessary return prevents tools from inaccurately reporting type errors. 4655 return false; 4648 4656 } 4649 4657 … … 5879 5887 ); 5880 5888 } 5889 5890 $this->bail( 'Should not have reached end of HTML Integration Point detection: check HTML API code.' ); 5891 // This unnecessary return prevents tools from inaccurately reporting type errors. 5892 return false; 5881 5893 } 5882 5894 -
trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php
r58985 r59001 2966 2966 } 2967 2967 } 2968 2969 // This unnecessary return prevents tools from inaccurately reporting type errors. 2970 return $tag_name; 2968 2971 } 2969 2972
Note: See TracChangeset
for help on using the changeset viewer.