[wp-trac] Re: [WordPress Trac] #9602: eval problem in classes.php and rewrite.php

WordPress Trac wp-trac at lists.automattic.com
Tue May 5 11:02:42 GMT 2009


#9602: eval problem in classes.php and rewrite.php
--------------------------+-------------------------------------------------
 Reporter:  obsidiandh    |       Owner:  ryan       
     Type:  defect (bug)  |      Status:  new        
 Priority:  low           |   Milestone:  2.8        
Component:  Permalinks    |     Version:  2.7.1      
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 could not handle the .patch format as well. just made a patch removing the
 in my opinion senseless eval calls against trunk but i must admit i am a
 little puzzled:

 was: {{{eval("\$query = \"" . addslashes($query) . "\";");}}}
 patch: {{{$query = addslashes($query)}}}

 i do not understand why this eval was used there. as far as i can see it
 must be by mistake.

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


More information about the wp-trac mailing list