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

WordPress Trac noreply at wordpress.org
Wed May 31 17:39:14 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 Jossnaz):

 is there an php lib to talk to the wordpress API endpoints?

 btw something as simple as
 {{{#!php
 <?php
 apply_filter('the_content', $post->content);
 }}}

 how would you do that via rest api?

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


More information about the wp-trac mailing list