[wp-trac] Re: [WordPress Trac] #5644: wp_kses_normalize_entities regular expression does not use callback

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 11 16:21:14 GMT 2008


#5644: wp_kses_normalize_entities regular expression does not use callback
------------------------+---------------------------------------------------
 Reporter:  darkdragon  |        Owner:  anonymous
     Type:  defect      |       Status:  new      
 Priority:  normal      |    Milestone:  2.6      
Component:  Security    |      Version:           
 Severity:  normal      |   Resolution:           
 Keywords:  kses        |  
------------------------+---------------------------------------------------
Comment (by lloydbudd):

 Replying to [ticket:5644 darkdragon]:
 > In {{{wp_kses_normalize_entities()}}}, the second preg_replace uses the
 'e' or eval instead of using the preg_replace_callback() function that has
 been in PHP since 4.0.5.

 What is the benefit?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5644#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list