Skip to:
Content

BuddyPress.org

Ticket #6950: 6950.patch

File 6950.patch, 738 bytes (added by imath, 5 years ago)
  • src/bp-activity/bp-activity-functions.php

    diff --git src/bp-activity/bp-activity-functions.php src/bp-activity/bp-activity-functions.php
    index 6f9b6e1..8f03c6f 100644
    function bp_activity_get_post_type_tracking_args( $post_type ) { 
    558558
    559559                // Fall back to a generic name.
    560560                } else {
    561                         $post_type_activity->comments_tracking->front_filter = sprintf( __( '%s comments', 'buddypress' ), $post_type_object->labels->singular_name );
     561                        $post_type_activity->comments_tracking->front_filter = _x( 'Item comments', 'Post Type generic comments activity front filter', 'buddypress' );
    562562                }
    563563
    564564                $post_type_activity->comments_tracking->contexts = $post_type_activity->contexts;