Make WordPress Core

Ticket #16468: paged-404.diff

File paged-404.diff, 500 bytes (added by rob1n, 14 years ago)
  • wp-content/themes/twentyten/header.php

     
    2929                echo " | $site_description";
    3030
    3131        // Add a page number if necessary:
    32         if ( $paged >= 2 || $page >= 2 )
     32        if ( ($paged >= 2 || $page >= 2) && !is_404() )
    3333                echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
    3434
    3535        ?></title>