Changeset 6867 for trunk/bp-core/bp-core-theme-compatibility.php
- Timestamp:
- 03/25/2013 08:00:13 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-theme-compatibility.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-theme-compatibility.php
r6866 r6867 47 47 * 'url' => URL to theme 48 48 * ); 49 * @var array 49 * @var array 50 50 */ 51 51 protected $_data = array(); … … 384 384 385 385 // Switch defaults if post is set 386 if ( isset( $wp_query->post ) ) { 386 if ( isset( $wp_query->post ) ) { 387 387 $defaults = array( 388 388 'ID' => $wp_query->post->ID, … … 425 425 426 426 // Setup the dummy post object 427 $wp_query->post = new stdClass; 427 $wp_query->post = new stdClass; 428 428 $wp_query->post->ID = $dummy['ID']; 429 429 $wp_query->post->post_status = $dummy['post_status'];
Note: See TracChangeset
for help on using the changeset viewer.