Ticket #17590: post-template.diff
File post-template.diff, 640 bytes (added by , 13 years ago) |
---|
-
wp-includes/post-template.php
831 831 $output .= '<li class="pagenav">' . $r['title_li'] . '<ul>'; 832 832 833 833 global $wp_query; 834 if ( is_page() || is_attachment() || $wp_query->is_posts_page )834 if ( is_page() || is_attachment() || $wp_query->is_posts_page || ($wp_query->query_vars['post_type'] != 'post' && is_single()) ) 835 835 $current_page = $wp_query->get_queried_object_id(); 836 836 $output .= walk_page_tree($pages, $r['depth'], $current_page, $r); 837 837