Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2015 02:49:16 AM (9 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-forums/bp-forums-filters.php

    r9467 r9471  
    105105 */
    106106function bp_forums_filter_tag_link( $link, $tag, $page, $context ) {
    107     global $bp;
    108 
    109107    /**
    110108     * Filters the link for a forum topic tags directory.
     
    142140 * Append forum topic to page title.
    143141 *
    144  * @global object $bp Global BuddyPress settings object.
    145  *
    146142 * @see bp_modify_page_title()
    147143 *
     
    153149 */
    154150function bp_forums_add_forum_topic_to_page_title( $title, $original_title, $sep, $seplocation  ) {
    155     global $bp;
    156151
    157152    if ( bp_is_current_action( 'forum' ) && bp_is_action_variable( 'topic', 0 ) )
Note: See TracChangeset for help on using the changeset viewer.