Skip to:
Content

BuddyPress.org

Changeset 6661


Ignore:
Timestamp:
12/25/2012 09:15:24 AM (8 years ago)
Author:
johnjamesjacoby
Message:

$instancetitle? will always be set, even if originally empty. See #4685.

File:
1 edited

Legend:

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

    r6660 r6661  
    4747        echo $before_widget;
    4848
    49         $title = !empty( $instance['link_title'] ) ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . $instance['title'] . '</a>' : '';
     49        $title = !empty( $instance['link_title'] ) ? '<a href="' . trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) . '">' . $instance['title'] . '</a>' : $instance['title'];
    5050
    5151        echo $before_title . $title . $after_title; ?>
Note: See TracChangeset for help on using the changeset viewer.