Changeset 4536 for trunk/bp-core/deprecated/1.3.php
- Timestamp:
- 06/19/2011 05:29:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/deprecated/1.3.php
r4532 r4536 383 383 } 384 384 385 /** 386 * Template tag version of bp_get_page_title() 387 * 388 * @deprecated 1.3 389 * @deprecated Use wp_title() 390 * @since 1.0 391 */ 392 function bp_page_title() { 393 echo bp_get_page_title(); 394 } 395 /** 396 * Prior to BuddyPress 1.3, this was used to generate the page's <title> text. 397 * Now, just simply use wp_title(). 398 * 399 * @deprecated 1.3 400 * @deprecated Use wp_title() 401 * @since 1.0 402 */ 403 function bp_get_page_title() { 404 _deprecated_function( __FUNCTION__, '1.3', 'wp_title()' ); 405 $title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' ); 406 407 // Backpat for BP 1.2 filter 408 $title = apply_filters( 'bp_page_title', esc_attr( $title ), esc_attr( $title ) ); 409 410 return apply_filters( 'bp_get_page_title', $title ); 411 } 412 413 function bp_styles() { 414 do_action( 'bp_styles' ); 415 wp_print_styles(); 416 } 385 417 386 418 /** Theme *********************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.