Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/09/2012 04:49:22 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Theme Compat:

  • Set post_excerpt when setting the dummy post.
  • Fixes issue with unset $post->post_excerpt warnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-theme-compatibility.php

    r6451 r6504  
    387387    $wp_query->post->post_content          = $dummy['post_content'];
    388388    $wp_query->post->post_title            = $dummy['post_title'];
    389     $wp_query->post->post_excerpt          = $dummy['post_content_filtered'];
     389    $wp_query->post->post_excerpt          = $dummy['post_excerpt'];
    390390    $wp_query->post->post_content_filtered = $dummy['post_content_filtered'];
    391391    $wp_query->post->post_mime_type        = $dummy['post_mime_type'];
Note: See TracChangeset for help on using the changeset viewer.