Skip to:
Content

BuddyPress.org

Changeset 6867


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

Pinking shears

Location:
trunk
Files:
2 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'];
  • trunk/bp-templates/bp-legacy/buddypress-functions.php

    r6866 r6867  
    8787        add_filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization
    8888        add_action( 'bp_head',            array( $this, 'head_scripts'     ) ); // Output some extra JS in the <head>
    89        
     89
    9090        /** Body no-js Class ********************************************************/
    9191        add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 );
     
    284284    <?php
    285285    }
    286    
     286
    287287    /**
    288288     * Adds the no-js class to the body tag.
     
    299299        if ( ! in_array( 'no-js', $classes ) )
    300300            $classes[] = 'no-js';
    301            
     301
    302302        return array_unique( $classes );
    303303    }
Note: See TracChangeset for help on using the changeset viewer.