Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2015 02:49:16 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Replace all remaining $bp global touches with buddypress().

All existing tests continue to pass as normal. I will further manually scrutinize each replacement to ensure correctness.

Fixes #5138. Any stragglers or updates will reference this ticket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-filters.php

    r9399 r9471  
    504504 *
    505505 * @see wp_title()
    506  * @global object $bp BuddyPress global settings.
    507506 *
    508507 * @param string $title Original page title.
     
    512511 */
    513512function bp_modify_page_title( $title, $sep = '', $seplocation = '' ) {
    514     global $bp;
    515513
    516514    // If this is not a BP page, just return the title produced by WP
     
    529527    }
    530528
     529    $bp    = buddypress();
    531530    $title = '';
    532531
Note: See TracChangeset for help on using the changeset viewer.