WordPress.org

Make WordPress Core

Changeset 4316


Ignore:
Timestamp:
10/04/2006 07:43:23 AM (12 years ago)
Author:
markjaquith
Message:

Manage Posts paging fix from Westi. fixes #2693

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/link-template.php

    r4155 r4316  
    477477   
    478478    if (isset($max_num_pages)) return $max_num_pages;
    479     $posts_per = (int) get_option('posts_per_page');
     479    $posts_per = get_query_var('posts_per_page');
    480480    if ( empty($posts_per) ) $posts_per = 1;
    481481
Note: See TracChangeset for help on using the changeset viewer.