From 0995987f25409043af6bcc45a5ca435fe8a7cc76 Mon Sep 17 00:00:00 2001 From: duck_ Date: Thu, 18 Aug 2011 17:57:22 +0000 Subject: [PATCH] Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687 git-svn-id: http://svn.automattic.com/wordpress/trunk@18566 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rewrite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 4502db1aa1..a7349abc61 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -821,7 +821,7 @@ class WP_Rewrite { $rewrite_rules = array(); $page_structure = $this->get_page_permastruct(); - // the extra .? at the beginning prevents clashes with other regex's in thie structure + // the extra .? at the beginning prevents clashes with other regular expressions in the rules array $this->add_rewrite_tag('%pagename%', "(.?.+?)", 'pagename='); $rewrite_rules = array_merge($rewrite_rules, $this->generate_rewrite_rules($page_structure, EP_PAGES)); return $rewrite_rules;