Changeset 6605
- Timestamp:
- 12/10/2012 01:39:30 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-dependency.php
r6436 r6605 110 110 } 111 111 112 /** 113 * BuddyPress head scripts 114 */ 115 function bp_head() { 116 do_action ( 'bp_head' ); 117 } 118 112 119 /** Theme Permissions *********************************************************/ 113 120 -
trunk/bp-core/bp-core-theme-compatibility.php
r6536 r6605 476 476 477 477 // Add a filter on the_content late, which we will later remove 478 add_filter( 'the_content', 'bp_replace_the_content' ); 478 if ( ! has_filter( 'the_content', 'bp_replace_the_content' ) ) { 479 add_filter( 'the_content', 'bp_replace_the_content' ); 480 } 481 482 // Add BuddyPress's head action to wp_head 483 if ( ! has_action( 'wp_head', 'bp_head' ) ) { 484 add_action( 'wp_head', 'bp_head' ); 485 } 479 486 480 487 // Find the appropriate template file -
trunk/bp-templates/bp-legacy/buddypress-functions.php
r6548 r6605 318 318 319 319 // Set up the cookies passed on this AJAX request. Store a local var to avoid conflicts 320 if ( ! empty( $_POST['cookie'] ) ) 320 if ( ! empty( $_POST['cookie'] ) ) { 321 321 $_BP_COOKIE = wp_parse_args( str_replace( '; ', '&', urldecode( $_POST['cookie'] ) ) ); 322 else322 } else { 323 323 $_BP_COOKIE = &$_COOKIE; 324 } 324 325 325 326 $qs = array(); -
trunk/bp-themes/bp-default/header.php
r6531 r6605 8 8 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 9 9 10 <?php do_action( 'bp_head'); ?>10 <?php bp_head(); ?> 11 11 <?php wp_head(); ?> 12 12
Note: See TracChangeset
for help on using the changeset viewer.