Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/25/2013 08:00:13 PM (13 years ago)
Author:
boonebgorges
Message:

Pinking shears

File:
1 edited

Legend:

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

    r6866 r6867  
    4747     *     'url'     => URL to theme
    4848     * );
    49      * @var array 
     49     * @var array
    5050     */
    5151    protected $_data = array();
     
    384384
    385385    // Switch defaults if post is set
    386     if ( isset( $wp_query->post ) ) {         
     386    if ( isset( $wp_query->post ) ) {
    387387        $defaults = array(
    388388            'ID'                    => $wp_query->post->ID,
     
    425425
    426426    // Setup the dummy post object
    427     $wp_query->post                        = new stdClass; 
     427    $wp_query->post                        = new stdClass;
    428428    $wp_query->post->ID                    = $dummy['ID'];
    429429    $wp_query->post->post_status           = $dummy['post_status'];
Note: See TracChangeset for help on using the changeset viewer.