[wp-trac] [WordPress Trac] #10896: preg_replace with eval modifier used in _fix_attachment_links

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 17 19:25:04 UTC 2009


#10896: preg_replace with eval modifier used in _fix_attachment_links
--------------------------+-------------------------------------------------
 Reporter:  westi         |        Owner:  westi 
     Type:  defect (bug)  |       Status:  closed
 Priority:  high          |    Milestone:  2.9   
Component:  Security      |      Version:  2.8.4 
 Severity:  major         |   Resolution:  fixed 
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------
Changes (by ryan):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [12198]) Use preg_replace_callback to eliminate eval. Props BenBE1987.
 fixes #10896

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


More information about the wp-trac mailing list