[wp-trac] [WordPress Trac] #9955: Missing preg_quote parameters

WordPress Trac wp-trac at lists.automattic.com
Thu May 28 08:20:08 GMT 2009


#9955: Missing preg_quote parameters
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  2.8
Component:  General            |     Version:     
 Severity:  normal             |    Keywords:     
-------------------------------+--------------------------------------------
 Found this while investigating a bug in a plugin.

 when the second argument is null, preg_quote() assumes the regexp is
 wrapped around {}. But WP occasionally uses it with / wrappers.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9955>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list