WordPress.org

Make WordPress Core

Ticket #16687: 16687.minor-typo-fix.patch

File 16687.minor-typo-fix.patch, 673 bytes (added by SergeyBiryukov, 9 years ago)
  • wp-includes/rewrite.php

     
    821821                $rewrite_rules = array();
    822822                $page_structure = $this->get_page_permastruct();
    823823
    824                 // the extra .? at the beginning prevents clashes with other regex's in thie structure
     824                // the extra .? at the beginning prevents clashes with other regex's in this structure
    825825                $this->add_rewrite_tag('%pagename%', "(.?.+?)", 'pagename=');
    826826                $rewrite_rules = array_merge($rewrite_rules, $this->generate_rewrite_rules($page_structure, EP_PAGES));
    827827                return $rewrite_rules;