Make WordPress Core

Changeset 27551


Ignore:
Timestamp:
03/15/2014 04:46:53 AM (10 years ago)
Author:
nacin
Message:

Avoid saving slashed data in XML-RPC's wp.setOptions.

props danielbachhuber.
fixes #22936.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r27262 r27551  
    32453245                continue;
    32463246
    3247             update_option( $this->blog_options[$o_name]['option'], $o_value );
     3247            update_option( $this->blog_options[$o_name]['option'], wp_unslash( $o_value ) );
    32483248        }
    32493249
Note: See TracChangeset for help on using the changeset viewer.