Changeset 1558 for trunk/wp-includes/classes.php
- Timestamp:
- 08/24/2004 08:43:01 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r1556 r1558 11 11 12 12 var $is_single = false; 13 var $is_page = false; 13 14 var $is_archive = false; 14 15 var $is_date = false; … … 25 26 function init () { 26 27 $this->is_single = false; 28 $this->is_page = false; 27 29 $this->is_archive = false; 28 30 $this->is_date = false; … … 153 155 if ('' != $qv['feed']) { 154 156 $this->is_feed = true; 155 $this->feed = $qv['feed']; 157 } 158 159 if ('' != $qv['static'] || '' != $qv['pagename']) { 160 $this->is_page = true; 156 161 } 157 162 158 163 if ( ($this->is_date || $this->is_author || $this->is_category) 159 && (! $this->is_single)) {164 && (! ($this->is_single || $this->is_page)) ) { 160 165 $this->is_archive = true; 161 166 } 162 167 163 if ( ! ($this->is_archive || $this->is_single || $this->is_ search || $this->is_feed)) {168 if ( ! ($this->is_archive || $this->is_single || $this->is_page || $this->is_search || $this->is_feed)) { 164 169 $this->is_home = true; 165 170 }
Note: See TracChangeset
for help on using the changeset viewer.