WordPress.org

Make WordPress Core

Changeset 7622


Ignore:
Timestamp:
04/08/2008 01:05:45 AM (10 years ago)
Author:
ryan
Message:

Revert [7605]. It breaks setting posts page. see #6539

File:
1 edited

Legend:

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

    r7605 r7622  
    921921            }
    922922
    923             if  ( ('page' != get_option('show_on_front') ) || ( $reqpage !== get_option('page_for_posts') ) ) {
     923            if  ( ('page' != get_option('show_on_front') ) || ( $reqpage != get_option('page_for_posts') ) ) {
    924924                $q['pagename'] = str_replace('%2F', '/', urlencode(urldecode($q['pagename'])));
    925925                $page_paths = '/' . trim($q['pagename'], '/');
Note: See TracChangeset for help on using the changeset viewer.