Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/16/2025 10:43:01 PM (5 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: Updates to the phpcs.xml.dist config file.

This commit implements the WordPress.WP.I18n.MissingTranslatorsComment code sniff, fixes a bunch of whitespace regressions from #3614 and #3613.

Props johnjamesjacoby, sirlouen.

In trunk, for 2.7.

Fixes #3615.

File:
1 edited

Legend:

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

    r7214 r7360  
    399399
    400400        // Activity action & text
    401         $activity_text    = sprintf( esc_html__( '%1$s started the topic %2$s in the forum %3$s', 'bbpress' ), $user_link, $topic_link, $forum_link );
     401        $activity_text = sprintf(
     402            /* translators: 1: User linked profile, 2: Topic linked title, 3: Forum linked title */
     403            esc_html__( '%1$s started the topic %2$s in the forum %3$s', 'bbpress' ),
     404            $user_link,
     405            $topic_link,
     406            $forum_link
     407        );
    402408        $activity_action  = apply_filters( 'bbp_activity_topic_create',         $activity_text, $user_id,   $topic_id,   $forum_id );
    403409        $activity_content = apply_filters( 'bbp_activity_topic_create_excerpt', $topic_content                                     );
     
    537543
    538544        // Activity action & text
    539         $activity_text    = sprintf( esc_html__( '%1$s replied to the topic %2$s in the forum %3$s', 'bbpress' ), $user_link, $topic_link, $forum_link );
     545        $activity_text    = sprintf(
     546            /* translators: 1: User linked profile, 2: Topic linked title, 3: Forum linked title */
     547            esc_html__( '%1$s replied to the topic %2$s in the forum %3$s', 'bbpress' ),
     548            $user_link,
     549            $topic_link,
     550            $forum_link
     551        );
    540552        $activity_action  = apply_filters( 'bbp_activity_reply_create',         $activity_text, $user_id, $reply_id,  $topic_id );
    541553        $activity_content = apply_filters( 'bbp_activity_reply_create_excerpt', $reply_content                                  );
Note: See TracChangeset for help on using the changeset viewer.