[wp-trac] [WordPress Trac] #40476: $_POST values ' and \ for sure are getting escaped with a slash

WordPress Trac noreply at wordpress.org
Wed Apr 19 00:14:13 UTC 2017


#40476: $_POST values ' and \ for sure are getting escaped with a slash
----------------------------+------------------------
 Reporter:  Jossnaz         |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:  duplicate
 Keywords:                  |     Focuses:
----------------------------+------------------------

Comment (by dd32):

 I should also add - I expect you're doing this because you're trying to
 use an API endpoint for something, I'd highly suggest switching to using
 the REST API introduced with WordPress 4.7 instead, as it allows us to
 offer much more consistent experience to developers.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40476#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list