WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/11/2006 11:59:00 PM (15 years ago)
Author:
ryan
Message:

Show more link in RSS. Don't show more link if more link text empty. Take more into account when creating excerpt.

File:
1 edited

Legend:

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

    r4167 r4184  
    742742    global $post;
    743743    if ( '' == $text ) {
    744         $text = $post->post_content;
     744        $text = get_the_content('');
    745745        $text = apply_filters('the_content', $text);
    746746        $text = str_replace(']]>', ']]>', $text);
Note: See TracChangeset for help on using the changeset viewer.