WordPress.org

Make WordPress Core

Ticket #4177: 4177.diff

File 4177.diff, 448 bytes (added by rob1n, 11 years ago)
  • wp-includes/post-template.php

     
    129129        return apply_filters('get_the_excerpt', $output);
    130130}
    131131
     132function has_excerpt( $id = 0 ) {
     133        $post = &get_post( $id );
     134        return ( !empty( $post->post_excerpt ) );
     135}
    132136
    133137function wp_link_pages($args = '') {
    134138        global $post;