the_title

  • apply_filters( 'the_title', $recorded_comment->post->post_title ) . '</a>', '<a href="' . get_blog_option( $blog_id, 'home' ) . '">' . get_blog_option( $blog_id, 'blogname' ) . '</a>' )

    Source Reference:

    • Component: BuddyPress :: bp-blogs
      File: /bp-blogs/bp-blogs-functions.php :: Trac Source Line: 264
      	// If blog is public allow activity to be posted
      	if ( $is_blog_public ) {
      
      		// Get activity related links
      		$post_permalink = get_permalink( $recorded_comment->comment_post_ID );
      		$comment_link   = htmlspecialchars( get_comment_link( $recorded_comment->comment_ID ) );
      
      		// Prepare to record in activity streams
      		if ( is_multisite() )
      			$activity_action = sprintf( __( '%1$s commented on the post, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . $post_permalink . '">' . apply_filters( 'the_title', $recorded_comment->post->post_title ) . '</a>', '<a href="' . get_blog_option( $blog_id, 'home' ) . '">' . get_blog_option( $blog_id, 'blogname' ) . '</a>' );
      		else
      			$activity_action = sprintf( __( '%1$s commented on the post, %2$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . $post_permalink . '">' . apply_filters( 'the_title', $recorded_comment->post->post_title ) . '</a>' );
      
      		$activity_content	= $recorded_comment->comment_content;
      
      		// Record in activity streams
      		bp_blogs_record_activity( array(
      			'user_id'           => $user_id,
      			'action'            => apply_filters_ref_array( 'bp_blogs_activity_new_comment_action',       array( $activity_action,  &$recorded_comment, $comment_link ) ),
      			'content'           => apply_filters_ref_array( 'bp_blogs_activity_new_comment_content',      array( $activity_content, &$recorded_comment, $comment_link ) ),
      
  • apply_filters( 'the_title', $recorded_comment->post->post_title ) . '</a>' )

    Source Reference:

    • Component: BuddyPress :: bp-blogs
      File: /bp-blogs/bp-blogs-functions.php :: Trac Source Line: 266
      		// Get activity related links
      		$post_permalink = get_permalink( $recorded_comment->comment_post_ID );
      		$comment_link   = htmlspecialchars( get_comment_link( $recorded_comment->comment_ID ) );
      
      		// Prepare to record in activity streams
      		if ( is_multisite() )
      			$activity_action = sprintf( __( '%1$s commented on the post, %2$s, on the site %3$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . $post_permalink . '">' . apply_filters( 'the_title', $recorded_comment->post->post_title ) . '</a>', '<a href="' . get_blog_option( $blog_id, 'home' ) . '">' . get_blog_option( $blog_id, 'blogname' ) . '</a>' );
      		else
      			$activity_action = sprintf( __( '%1$s commented on the post, %2$s', 'buddypress' ), bp_core_get_userlink( $user_id ), '<a href="' . $post_permalink . '">' . apply_filters( 'the_title', $recorded_comment->post->post_title ) . '</a>' );
      
      		$activity_content	= $recorded_comment->comment_content;
      
      		// Record in activity streams
      		bp_blogs_record_activity( array(
      			'user_id'           => $user_id,
      			'action'            => apply_filters_ref_array( 'bp_blogs_activity_new_comment_action',       array( $activity_action,  &$recorded_comment, $comment_link ) ),
      			'content'           => apply_filters_ref_array( 'bp_blogs_activity_new_comment_content',      array( $activity_content, &$recorded_comment, $comment_link ) ),
      			'primary_link'      => apply_filters_ref_array( 'bp_blogs_activity_new_comment_primary_link', array( $comment_link,     &$recorded_comment                ) ),
      			'type'              => 'new_blog_comment',
      

Comments are closed.