WordPress.org

Make WordPress Core

Changeset 6152


Ignore:
Timestamp:
09/22/07 06:07:03 (7 years ago)
Author:
markjaquith
Message:

Fix PATH_INFO first page paging link. fixes #5039

File:
1 edited

Legend:

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

    r6144 r6152  
    507507        $base = trailingslashit( get_bloginfo( 'url' ) ); 
    508508 
    509         if ( $wp_rewrite->using_index_permalinks() && ( $pagenum > 1 || ( 'page' == get_option('show_on_front') && get_option('page_on_front') )) ) { 
     509        if ( $wp_rewrite->using_index_permalinks() && ( $pagenum > 1 || '' != $request ) ) 
    510510            $base .= 'index.php/'; 
    511         } 
    512511 
    513512        if ( $pagenum > 1 ) { 
Note: See TracChangeset for help on using the changeset viewer.