WordPress.org

Make WordPress Core

Changeset 22005


Ignore:
Timestamp:
09/26/12 01:16:31 (3 years ago)
Author:
nacin
Message:

Add a comment to get_shortcode_regex() mentioning its near clones elsewhere. see #21996.

File:
1 edited

Legend:

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

    r19712 r22005  
    178178 
    179179    // WARNING! Do not change this regex without changing do_shortcode_tag() and strip_shortcode_tag() 
     180    // Also, see shortcode_unautop() and shortcode.js. 
    180181    return 
    181182          '\\['                              // Opening bracket 
Note: See TracChangeset for help on using the changeset viewer.