Make WordPress Core

Changeset 553


Ignore:
Timestamp:
11/23/2003 08:41:40 AM (22 years ago)
Author:
saxmatt
Message:

Only show comments and such if an individual post identifier is given.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/blog.header.php

    r514 r553  
    307307
    308308if (1 == count($posts)) {
    309     $more = 1; $c = 1; $single = 1;
     309    if ($id || $name) {
     310        $more = 1;
     311        $c = 1;
     312        $single = 1;
     313    }
    310314    if ($s) { // If they were doing a search and got one result
    311315        header('Location: ' . get_permalink($posts[0]->ID));
Note: See TracChangeset for help on using the changeset viewer.