[wp-trac] [WordPress Trac] #22936: XML-RPC WordPress api setOption double escapes args

WordPress Trac noreply at wordpress.org
Fri Feb 21 16:47:38 UTC 2014


#22936: XML-RPC WordPress api setOption double escapes args
------------------------------------+------------------
 Reporter:  jachzen                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.9
Component:  XML-RPC                 |     Version:
 Severity:  major                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------
Changes (by danielbachhuber):

 * keywords:   => has-patch dev-feedback
 * milestone:  Awaiting Review => 3.9


Comment:

 Thanks for the report, jachzen. Apologies it's taken a while for a
 response.

 Using 22936.1.diff, I get this result against the test case:


     1) Tests_XMLRPC_wp_setOptions::test_set_option_no_escape_strings
     Failed asserting that two strings are equal.
     --- Expected
     +++ Actual
     @@ @@
     -'Mary's Lamb Shop'
     +'Mary's Lamb Shop'

 XML-RPC isn't my forte though, so I need an opinion on what's actually
 intended.

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


More information about the wp-trac mailing list