Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/31/2017 02:17:11 PM (9 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress: Switch activity action back to $this->component and skip groups tests.

Proprs thebrandonallen. Fixes #3089.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/extend/buddypress/activity.php

    r6384 r6391  
    198198                // Sitewide topic
    199199                bp_activity_set_action(
    200                         bbp_get_component_name(),
     200                        $this->component,
    201201                        $this->topic_create,
    202202                        esc_html__( 'New forum topic', 'bbpress' ),
    203                         'bbp_bp_format_activity_action_new_topic',
     203                        'bbp_format_activity_action_new_topic',
    204204                        esc_html__( 'Topics', 'bbpress' ),
    205205                        array( 'activity', 'member', 'member_groups', 'group' )
     
    208208                // Sitewide reply
    209209                bp_activity_set_action(
    210                         bbp_get_component_name(),
     210                        $this->component,
    211211                        $this->reply_create,
    212212                        esc_html__( 'New forum reply', 'bbpress' ),
    213                         'bbp_bp_format_activity_action_new_reply',
     213                        'bbp_format_activity_action_new_reply',
    214214                        esc_html__( 'Replies', 'bbpress' ),
    215215                        array( 'activity', 'member', 'member_groups', 'group' )
     
    227227                                $this->topic_create,
    228228                                esc_html__( 'New forum topic', 'bbpress' ),
    229                                 'bbp_bp_format_activity_action_new_topic',
     229                                'bbp_format_activity_action_new_topic',
    230230                                esc_html__( 'Topics', 'bbpress' ),
    231231                                array( 'activity', 'member', 'member_groups', 'group' )
     
    237237                                $this->reply_create,
    238238                                esc_html__( 'New forum reply', 'bbpress' ),
    239                                 'bbp_bp_format_activity_action_new_reply',
     239                                'bbp_format_activity_action_new_reply',
    240240                                esc_html__( 'Replies', 'bbpress' ),
    241241                                array( 'activity', 'member', 'member_groups', 'group' )
Note: See TracChangeset for help on using the changeset viewer.