Changeset 56549 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 09/09/2023 09:26:01 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r56325 r56549 477 477 478 478 $text .= substr( $text_part, 0, $start ) . $name; 479 $i++;479 ++$i; 480 480 } 481 481 … … 2658 2658 $tag = '</' . $tag . '>'; // Close tag. 2659 2659 array_pop( $tagstack ); 2660 $stacksize--;2660 --$stacksize; 2661 2661 } else { // Closing tag not at top, search for it. 2662 2662 for ( $j = $stacksize - 1; $j >= 0; $j-- ) { … … 2665 2665 for ( $k = $stacksize - 1; $k >= $j; $k-- ) { 2666 2666 $tagqueue .= '</' . array_pop( $tagstack ) . '>'; 2667 $stacksize--;2667 --$stacksize; 2668 2668 } 2669 2669 break; … … 2693 2693 if ( $stacksize > 0 && ! in_array( $tag, $nestable_tags, true ) && $tagstack[ $stacksize - 1 ] === $tag ) { 2694 2694 $tagqueue = '</' . array_pop( $tagstack ) . '>'; 2695 $stacksize--;2695 --$stacksize; 2696 2696 } 2697 2697 $stacksize = array_push( $tagstack, $tag ); … … 3084 3084 || preg_match( '|^<style[\s>]|i', $piece ) 3085 3085 ) { 3086 $nested_code_pre++;3086 ++$nested_code_pre; 3087 3087 } elseif ( $nested_code_pre 3088 3088 && ( '</code>' === strtolower( $piece ) … … 3092 3092 ) 3093 3093 ) { 3094 $nested_code_pre--;3094 --$nested_code_pre; 3095 3095 } 3096 3096 … … 5355 5355 while ( $i ) { 5356 5356 $arg = array_shift( $args ); 5357 $i--;5357 --$i; 5358 5358 if ( 0 === $i ) { 5359 5359 $result .= $l['between_last_two'] . $arg;
Note: See TracChangeset
for help on using the changeset viewer.