Make WordPress Core

Ticket #41791: fix.41791.diff

File fix.41791.diff, 436 bytes (added by mikejolley, 7 years ago)

Fix for 41791

  • wp-includes/class-wp-rewrite.php

    diff --git wp-includes/class-wp-rewrite.php wp-includes/class-wp-rewrite.php
    index 30452f695a..914df129a7 100644
    class WP_Rewrite { 
    17131713                        $struct = $this->front . $struct;
    17141714                else
    17151715                        $struct = $this->root . $struct;
    1716                 $args['struct'] = $struct;
     1716                $args['struct'] = urldecode( $struct ;
    17171717
    17181718                $this->extra_permastructs[ $name ] = $args;
    17191719        }