Skip to:
Content

bbPress.org

Changeset 4247


Ignore:
Timestamp:
10/12/2012 11:27:58 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove references to post_category in theme compat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbp-includes/bbp-theme-compatibility.php

    r4228 r4247  
    311311        'post_content'          => '',
    312312        'post_title'            => '',
    313         'post_category'         => 0,
    314313        'post_excerpt'          => '',
    315314        'post_content_filtered' => '',
     
    346345            'post_content'          => $wp_query->post->post_content,
    347346            'post_title'            => $wp_query->post->post_title,
    348             'post_category'         => $wp_query->post->post_category,
    349347            'post_excerpt'          => $wp_query->post->post_excerpt,
    350348            'post_content_filtered' => $wp_query->post->post_content_filtered,
     
    387385    $wp_query->post->post_content          = $dummy['post_content'];
    388386    $wp_query->post->post_title            = $dummy['post_title'];
    389     $wp_query->post->post_category         = $dummy['post_category'];
    390387    $wp_query->post->post_excerpt          = $dummy['post_content_filtered'];
    391388    $wp_query->post->post_content_filtered = $dummy['post_content_filtered'];
Note: See TracChangeset for help on using the changeset viewer.