WordPress.org

Make WordPress Core

Ticket #21209: 21209.patch

File 21209.patch, 600 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/rewrite.php

     
    15371537                $registration_pages['.*wp-register.php$'] = $this->index . '?register=true'; // Deprecated
    15381538
    15391539                // Post
    1540                 $post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK, false );
     1540                $post_rewrite = $this->generate_rewrite_rules( $this->permalink_structure, EP_PERMALINK );
    15411541                $post_rewrite = apply_filters('post_rewrite_rules', $post_rewrite);
    15421542
    15431543                // Date