[wp-trac] Re: [WordPress Trac] #3036: theme-editor.php broken: stripslashes() and add_magic_quotes() screw up CR LFs

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 15 17:32:10 GMT 2006


#3036: theme-editor.php broken: stripslashes() and add_magic_quotes() screw up CR
LFs
------------------------------+---------------------------------------------
 Reporter:  astounding        |        Owner:  anonymous
     Type:  defect            |       Status:  new      
 Priority:  normal            |    Milestone:           
Component:  Administration    |      Version:  2.0.4    
 Severity:  major             |   Resolution:           
 Keywords:  theme-editor.php  |  
------------------------------+---------------------------------------------
Comment (by ryan):

 Magic quotes and stripslashes don't affect CR LF since they are 0x0d and
 0x0a, not \r \n.  Even if you type in \r and \n, the theme editor will
 preserve the slashes.  Everything works fine for me, and I haven't heard
 any other reports of this.   What web server are you running and on what
 OS?

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


More information about the wp-trac mailing list