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/functions.php

    r1489 r1491  
    12491249
    12501250        $post = 0;
    1251         if (strstr($struct, '%postname%') || strstr($struct, '%post_id%')) {
     1251        if (strstr($struct, '%postname%') || strstr($struct, '%post_id%')
     1252            || (strstr($struct, '%year%') &&  strstr($struct, '%monthnum%') && strstr($struct, '%day%') && strstr($struct, '%hour%') && strstr($struct, '%minute') && strstr($struct, '%second%'))) {
    12521253                $post = 1;
    12531254                $trackbackmatch = $match . $trackbackregex;
Note: See TracChangeset for help on using the changeset viewer.