Make WordPress Core


Ignore:
Timestamp:
09/16/2015 05:53:09 AM (9 years ago)
Author:
SergeyBiryukov
Message:

Fix a typo in wptexturize() and wp_replace_in_html_tags() comments.

Props bobbingwide.
See #15694.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r34123 r34222  
    259259        $first = $curl[0];
    260260        if ( '<' === $first && '<!--' === substr( $curl, 0, 4 ) ) {
    261             // This is an HTML comment delimeter.
     261            // This is an HTML comment delimiter.
    262262
    263263            continue;
     
    670670        foreach ( $replace_pairs as $needle => $replace );
    671671
    672         // Loop through delimeters (elements) only.
     672        // Loop through delimiters (elements) only.
    673673        for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {
    674674            if ( false !== strpos( $textarr[$i], $needle ) ) {
     
    681681        $needles = array_keys( $replace_pairs );
    682682
    683         // Loop through delimeters (elements) only.
     683        // Loop through delimiters (elements) only.
    684684        for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {
    685685            foreach ( $needles as $needle ) {
Note: See TracChangeset for help on using the changeset viewer.