Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/10/2012 01:17:51 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove unneeded globals and clean up some code in Groups component. See #3989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-buddybar.php

    r5687 r5689  
    11<?php
     2
     3/**
     4 * BuddyPress Groups BuddyBar
     5 *
     6 * @package BuddyPress
     7 * @subpackage GroupsBuddyBar
     8 */
     9
    210// Exit if accessed directly
    311if ( !defined( 'ABSPATH' ) ) exit;
    412
     13/**
     14 * Adds menu items to the BuddyBar
     15 *
     16 * @since BuddyPress (1.0)
     17 * @global BuddyPress $bp
     18 * @return False if no menu
     19 */
    520function bp_groups_adminbar_admin_menu() {
    621    global $bp;
Note: See TracChangeset for help on using the changeset viewer.