Skip to:
Content

bbPress.org

Changeset 4376


Ignore:
Timestamp:
11/09/2012 04:07:55 PM (13 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/includes/core/theme-compat.php

    r4257 r4376  
    385385    $wp_query->post->post_content          = $dummy['post_content'];
    386386    $wp_query->post->post_title            = $dummy['post_title'];
    387     $wp_query->post->post_excerpt          = $dummy['post_content_filtered'];
     387    $wp_query->post->post_excerpt          = $dummy['post_excerpt'];
    388388    $wp_query->post->post_content_filtered = $dummy['post_content_filtered'];
    389389    $wp_query->post->post_mime_type        = $dummy['post_mime_type'];
Note: See TracChangeset for help on using the changeset viewer.