WordPress.org

Make WordPress Core

Changeset 18566


Ignore:
Timestamp:
08/18/11 17:57:22 (3 years ago)
Author:
duck_
Message:

Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rewrite.php

    r18541 r18566  
    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 regular expressions in the rules array 
    825825        $this->add_rewrite_tag('%pagename%', "(.?.+?)", 'pagename='); 
    826826        $rewrite_rules = array_merge($rewrite_rules, $this->generate_rewrite_rules($page_structure, EP_PAGES)); 
Note: See TracChangeset for help on using the changeset viewer.