WordPress.org

Make WordPress Core

Ticket #18086: 18086.patch

File 18086.patch, 398 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-includes/canonical.php

     
    280280                                unset( $_parsed_query['name'] ); 
    281281                } 
    282282 
     283                $_parsed_query = array_map( 'urlencode', $_parsed_query ); 
    283284                $redirect_url = add_query_arg( $_parsed_query, $redirect_url ); 
    284285        } 
    285286