Make WordPress Core


Ignore:
Timestamp:
05/28/2007 06:34:06 PM (17 years ago)
Author:
ryan
Message:

Better draft, private, and future post/page management from mdawaffe. fixes #3945

File:
1 edited

Legend:

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

    r5569 r5575  
    472472    $request = preg_replace('|^/+|', '', $request);
    473473   
    474     if ( !$wp_rewrite->using_permalinks() ) {
     474    if ( !$wp_rewrite->using_permalinks() || is_admin() ) {
    475475        $base = trailingslashit( get_bloginfo( 'home' ) );
    476        
     476
    477477        if ( $pagenum > 1 ) {
    478478            $result = add_query_arg( 'paged', $pagenum, $base . $request );
Note: See TracChangeset for help on using the changeset viewer.