[wp-trac] [WordPress Trac] #15193: get_file_data() regex issue

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 22 12:31:55 UTC 2010


#15193: get_file_data() regex issue
--------------------------+-------------------------------------------------
 Reporter:  scribu        |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  Plugins       |     Version:     
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
Description changed by scribu:

Old description:

> The regex in get_file_data() needs a '^' at the begining to prevent
> matching something like this:
>
> {{{Some_Class_Description::init();}}}

New description:

 The regex in get_file_data() needs a {{{^}}} at the begining to prevent
 matching something like this:

 {{{Some_Class_Description::init();}}}

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15193#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list