Skip to:
Content

BuddyPress.org

Changeset 9738


Ignore:
Timestamp:
04/11/2015 02:33:08 AM (11 years ago)
Author:
dcavins
Message:

Use calculated title for widget_title filter.

Use the calculated title when one exists in 'widget_title' filter.

See #6222.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-widgets.php

    r9709 r9738  
    6767                 * @param string $id_base  Root ID for all widgets of this type.
    6868                 */
    69                 $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );
     69                $title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
    7070
    7171                echo $args['before_widget'];
  • trunk/src/bp-core/bp-core-widgets.php

    r9709 r9738  
    6262                 * @param string $id_base  Root ID for all widgets of this type.
    6363                 */
    64                 $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );
     64                $title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
    6565
    6666                echo $args['before_widget'];
  • trunk/src/bp-messages/bp-messages-widgets.php

    r9709 r9738  
    7474                 * @param string $id_base  Root ID for all widgets of this type.
    7575                 */
    76                 $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base );
     76                $title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
    7777
    7878                echo $before_widget;
Note: See TracChangeset for help on using the changeset viewer.