Make WordPress Core


Ignore:
Timestamp:
01/15/2010 10:11:12 PM (17 years ago)
Author:
ryan
Message:

Trailing whitespace cleanup

File:
1 edited

Legend:

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

    r12680 r12733  
    3434        $textarr = preg_split('/(<.*>|\[.*\])/Us', $text, -1, PREG_SPLIT_DELIM_CAPTURE);
    3535        $stop = count($textarr);
    36        
     36
    3737        // No need to setup these variables more than once
    3838        if (!$static_setup) {
     
    7575
    7676                if ( !empty($curl) && '<' != $curl{0} && '[' != $curl{0}
    77                                 && empty($no_texturize_shortcodes_stack) && empty($no_texturize_tags_stack)) { 
     77                                && empty($no_texturize_shortcodes_stack) && empty($no_texturize_tags_stack)) {
    7878                        // This is not a tag, nor is the texturization disabled
    7979                        // static strings
     
    121121                         * This disables texturize until we find a closing tag of our type
    122122                         * (e.g. <pre>) even if there was invalid nesting before that
    123                          * 
     123                         *
    124124                         * Example: in the case <pre>sadsadasd</code>"baba"</pre>
    125125                         *          "baba" won't be texturize
     
    691691        foreach ( (array) $parts as $part) {
    692692                $filename .= '.' . $part;
    693                
     693
    694694                if ( preg_match("/^[a-zA-Z]{2,5}\d?$/", $part) ) {
    695695                        $allowed = false;
     
    24142414 */
    24152415function like_escape($text) {
    2416         return addcslashes($text, '\\%_'); 
     2416        return addcslashes($text, '\\%_');
    24172417}
    24182418
Note: See TracChangeset for help on using the changeset viewer.