WordPress.org

Make WordPress Core

Changeset 4159


Ignore:
Timestamp:
09/02/2006 08:19:07 PM (13 years ago)
Author:
ryan
Message:

Check excerpt when determing if a post is empty. #3097

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r4147 r4159  
    508508    }
    509509
    510     if ( ('' == $post_content) && ('' == $post_title) )
     510    if ( ('' == $post_content) && ('' == $post_title) && ('' == $post_excerpt) )
    511511        return 0;
    512512
Note: See TracChangeset for help on using the changeset viewer.