Make WordPress Core


Ignore:
Timestamp:
07/28/2004 02:43:54 AM (20 years ago)
Author:
rboren
Message:

Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.

File:
1 edited

Legend:

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

    r1490 r1491  
    6666        }
    6767
     68        // If year, month, day, hour, minute, and second are set, a single
     69        // post is being queried.       
     70        if (('' != $hour) && ('' != $minute) &&('' != $second) && ('' != $year) && ('' != $monthnum) && ('' != $day)) {
     71            $this->single = true;
     72        }
     73
    6874        if (!empty($s)) {
    6975            $this->search = true;
Note: See TracChangeset for help on using the changeset viewer.