Changeset 17456
- Timestamp:
- 02/16/2011 04:27:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/query.php
r17452 r17456 1571 1571 // Correct is_* for page_on_front and page_for_posts 1572 1572 if ( $this->is_home && 'page' == get_option('show_on_front') && get_option('page_on_front') ) { 1573 $_query = wp_parse_args($ query);1573 $_query = wp_parse_args($this->query); 1574 1574 // pagename can be set and empty depending on matched rewrite rules. Ignore an empty pagename. 1575 1575 if ( isset($_query['pagename']) && '' == $_query['pagename'] ) … … 1628 1628 $this->set_404(); 1629 1629 1630 if ( !empty($query) ) 1631 do_action_ref_array('parse_query', array(&$this)); 1630 do_action_ref_array('parse_query', array(&$this)); 1632 1631 } 1633 1632
Note: See TracChangeset
for help on using the changeset viewer.