Skip to:
Content

BuddyPress.org

Changeset 3593


Ignore:
Timestamp:
12/28/2010 12:57:24 PM (15 years ago)
Author:
boonebgorges
Message:

Fixes PHP warning in BP_Group_Extension class

File:
1 edited

Legend:

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

    r3592 r3593  
    11591159        // Construct the admin edit tab for the new group extension
    11601160        if ( $this->enable_edit_item && $bp->is_item_admin ) {
    1161             add_action( 'groups_admin_tabs', create_function( '$current, $group_slug', 'if ( "' . esc_attr( $this->slug ) . '" == $current ) $selected = " class=\"current\""; echo "<li{$selected}><a href=\"' . $bp->root_domain . '/' . $bp->groups->slug . '/{$group_slug}/admin/' . esc_attr( $this->slug ) . '\">' . esc_attr( $this->name ) . '</a></li>";' ), 10, 2 );
     1161            add_action( 'groups_admin_tabs', create_function( '$current, $group_slug', '$selected = ""; if ( "' . esc_attr( $this->slug ) . '" == $current ) $selected = " class=\"current\""; echo "<li{$selected}><a href=\"' . $bp->root_domain . '/' . $bp->groups->slug . '/{$group_slug}/admin/' . esc_attr( $this->slug ) . '\">' . esc_attr( $this->name ) . '</a></li>";' ), 10, 2 );
    11621162
    11631163            // Catch the edit screen and forward it to the plugin template
Note: See TracChangeset for help on using the changeset viewer.