Make WordPress Core


Ignore:
Timestamp:
03/20/2006 09:19:33 PM (20 years ago)
Author:
ryan
Message:

Don't try to do paging for single page queries. Props westi. fixes #2578

File:
1 edited

Legend:

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

    r3639 r3649  
    858858
    859859        // Paging
    860         if (empty($q['nopaging']) && ! $this->is_single) {
     860        if (empty($q['nopaging']) && ! $this->is_single && ! $this->is_page) {
    861861            $page = $q['paged'];
    862862            if (empty($page)) {
Note: See TracChangeset for help on using the changeset viewer.