Changeset 13493
- Timestamp:
- 02/28/2010 09:19:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r13492 r13493 1475 1475 1476 1476 // Correct is_* for page_on_front and page_for_posts 1477 if ( $this->is_home && ( empty($this->query) || $qv['preview'] == 'true' ) && 'page' == get_option('show_on_front') && get_option('page_on_front') ) { 1477 if ( $this->is_home && 1478 'page' == get_option('show_on_front') && 1479 get_option('page_on_front') && 1480 ( 1481 empty($this->query) || 1482 !empty($qv['preview']) || 1483 !empty($qv['cpage']) 1484 ) ) { 1478 1485 $this->is_page = true; 1479 1486 $this->is_home = false;
Note: See TracChangeset
for help on using the changeset viewer.