Skip to:
Content

bbPress.org

Ticket #2300: bbpress.patch

File bbpress.patch, 585 bytes (added by DJPaul, 9 years ago)
  • includes/replies/template-tags.php

     
    512512        function bbp_get_reply_excerpt( $reply_id = 0, $length = 100 ) {
    513513                $reply_id = bbp_get_reply_id( $reply_id );
    514514                $length   = (int) $length;
    515                 $excerpt  = get_post_field( $reply_id, 'post_excerpt' );
     515                $excerpt  = get_post_field( 'post_excerpt', $reply_id );
    516516
    517517                if ( empty( $excerpt ) ) {
    518518                        $excerpt = bbp_get_reply_content( $reply_id );