Make WordPress Core


Ignore:
Timestamp:
03/18/2009 02:43:45 AM (16 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r10658 r10810  
    157157 * The regular expression combines the shortcode tags in the regular expression
    158158 * in a regex class.
    159  * 
     159 *
    160160 * The regular expresion contains 6 different sub matches to help with parsing.
    161  * 
     161 *
    162162 * 1/6 - An extra [ or ] to allow for escaping shortcodes with double [[]]
    163163 * 2 - The shortcode name
     
    165165 * 4 - The self closing /
    166166 * 5 - The content of a shortcode when it wraps some content.
    167  * 
     167 *
    168168 * @since 2.5
    169169 * @uses $shortcode_tags
     
    197197        return substr($m[0], 1, -1);
    198198    }
    199    
     199
    200200    $tag = $m[2];
    201201    $attr = shortcode_parse_atts($m[3]);
Note: See TracChangeset for help on using the changeset viewer.