Changeset 15081
- Timestamp:
- 05/31/2010 08:50:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/rewrite.php
r14924 r15081 1577 1577 '.*wp-commentsrss2.php$' => $this->index . '?feed=rss2&withcomments=1'); 1578 1578 1579 // Registration rules 1580 $registration_pages = array(); 1581 if ( is_multisite() && is_main_site() ) { 1582 $registration_pages['.*wp-signup.php$'] = $this->index . '?signup=true'; 1583 $registration_pages['.*wp-activate.php$'] = $this->index . '?activate=true'; 1584 } 1585 1579 1586 // Post 1580 1587 $post_rewrite = $this->generate_rewrite_rules($this->permalink_structure, EP_PERMALINK); … … 1624 1631 // Put them together. 1625 1632 if ( $this->use_verbose_page_rules ) 1626 $this->rules = array_merge($this->extra_rules_top, $robots_rewrite, $default_feeds, $ page_rewrite, $root_rewrite, $comments_rewrite, $search_rewrite, $category_rewrite, $tag_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $this->extra_rules);1633 $this->rules = array_merge($this->extra_rules_top, $robots_rewrite, $default_feeds, $registration_pages, $page_rewrite, $root_rewrite, $comments_rewrite, $search_rewrite, $category_rewrite, $tag_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $this->extra_rules); 1627 1634 else 1628 $this->rules = array_merge($this->extra_rules_top, $robots_rewrite, $default_feeds, $r oot_rewrite, $comments_rewrite, $search_rewrite, $category_rewrite, $tag_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $page_rewrite, $this->extra_rules);1635 $this->rules = array_merge($this->extra_rules_top, $robots_rewrite, $default_feeds, $registration_pages, $root_rewrite, $comments_rewrite, $search_rewrite, $category_rewrite, $tag_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $page_rewrite, $this->extra_rules); 1629 1636 1630 1637 do_action_ref_array('generate_rewrite_rules', array(&$this));
Note: See TracChangeset
for help on using the changeset viewer.