[wp-trac] [WordPress Trac] #24941: esc_sql in 3.6 changes how /r /n and maybe other characters handled

WordPress Trac noreply at wordpress.org
Sat Aug 3 13:52:36 UTC 2013


#24941: esc_sql in 3.6 changes how /r /n and maybe other characters handled
--------------------------+------------------------------
 Reporter:  sc0ttkclark   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nofearinc):

 Scott, just tested a sample use case in lastest 3.6:


 {{{
   $content = "Testing it out\n\nTest";
   $content = esc_sql( $content );
 }}}

 There is no extra escaping there, i.e. the new content is exactly
 `"Testing it out\n\nTest"`. Can you still confirm the issue on your end?

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


More information about the wp-trac mailing list