Make WordPress Core

Ticket #4849: post-new_viper.patch

File post-new_viper.patch, 516 bytes (added by Viper007Bond, 19 years ago)

Alternate suggestion to avoid multiple "Untitled" listings

  • wp-admin/post-new.php

     
    6464                                if ( $i > $nag_posts_limit )
    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) )
    7070                                        echo ', ';