Make WordPress Core

Ticket #4663: 4663.diff

File 4663.diff, 503 bytes (added by Nazgul, 17 years ago)
  • wp-admin/options.php

     
    3838
    3939        $referred = remove_query_arg('updated' , wp_get_referer());
    4040        $goback = add_query_arg('updated', 'true', wp_get_referer());
    41         $goback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $goback);
     41        $goback = preg_replace('|[^a-z0-9-~+_.?#=&;,/:%]|i', '', $goback);
    4242        wp_redirect($goback);
    4343    break;
    4444