Ticket #2761: strip_ays_post.diff

File strip_ays_post.diff, 0.5 kB (added by ryan, 2 years ago)
  • wp-includes/pluggable-functions.php

    old new  
    238238                        $adminurl = $referer; 
    239239                $title = __('WordPress Confirmation'); 
    240240                require_once(ABSPATH . '/wp-admin/admin-header.php'); 
     241                // Remove extra layer of slashes. 
     242                $_POST   = stripslashes_deep($_POST  ); 
    241243                if ( $_POST ) { 
    242244                        $q = http_build_query($_POST); 
    243245                        $q = explode( ini_get('arg_separator.output'), $q);