- Timestamp:
- 09/09/2023 09:26:01 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php
r56301 r56549 952 952 if ( '/' === $this->html[ $at + 1 ] ) { 953 953 $this->is_closing_tag = true; 954 $at++;954 ++$at; 955 955 } else { 956 956 $this->is_closing_tag = false; … … 1021 1021 * See https://html.spec.whatwg.org/#parse-error-incorrectly-closed-comment 1022 1022 */ 1023 $closer_at--; // Pre-increment inside condition below reduces risk of accidental infinite looping.1023 --$closer_at; // Pre-increment inside condition below reduces risk of accidental infinite looping. 1024 1024 while ( ++$closer_at < strlen( $html ) ) { 1025 1025 $closer_at = strpos( $html, '--', $closer_at ); … … 1102 1102 */ 1103 1103 if ( '>' === $html[ $at + 1 ] ) { 1104 $at++;1104 ++$at; 1105 1105 continue; 1106 1106 }
Note: See TracChangeset
for help on using the changeset viewer.