- Timestamp:
- 09/13/2019 10:19:34 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r45932 r46105 691 691 692 692 /* 693 * Amazingly, parse_str follows magic quote rules. Sigh.694 *695 * NOTE: Do not refactor to use `wp_unslash`.696 */697 if ( get_magic_quotes_gpc() ) {698 $params = stripslashes_deep( $params );699 }700 701 /*702 693 * Add to the POST parameters stored internally. If a user has already 703 694 * set these manually (via `set_body_params`), don't override them.
Note: See TracChangeset
for help on using the changeset viewer.