Make WordPress Core

Changeset 2378


Ignore:
Timestamp:
02/25/2005 02:07:08 AM (20 years ago)
Author:
ryan
Message:

Use is_single() and is_page() to determine if single and more should be set. http://mosquito.wordpress.org/view.php?id=969 Props: coffee2code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-blog-header.php

    r2363 r2378  
    175175extract($wp_query->query_vars);
    176176
    177 if (1 == count($posts)) {
     177if ( is_single() || is_page() ) {
    178178    $more = 1;
    179179    $single = 1;
Note: See TracChangeset for help on using the changeset viewer.