WordPress.org

Make WordPress Core

Changeset 6037


Ignore:
Timestamp:
09/05/2007 06:33:45 PM (11 years ago)
Author:
markjaquith
Message:

Show "Post #N" for posts without a title in the nag. Props Viper007Bond. fixes #4849

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post-new.php

    r6026 r6037  
    6565                    break;
    6666                echo '<a href="post.php?action=edit&amp;post=' . $post->ID . '">';
    67                 the_title();
     67                ( '' == the_title('', '', FALSE) ) ? printf( __('Post #%s'), $post->ID ) : the_title();
    6868                echo '</a>';
    6969                if ( $i < min($nag[3], $nag_posts_limit) )
Note: See TracChangeset for help on using the changeset viewer.