Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/16/2025 03:59:38 PM (5 months ago)
Author:
espellcaste
Message:

WPCS - miscellaneous fixes to the BP_Activity_Activity class.

Props espellcaste.

See #9173
See #9174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-template.php

    r14077 r14148  
    25972597 *
    25982598 * @since 2.0.0
    2599  * @since 2.8.0 Added $comment as a parameter.
     2599 * @since 2.8.0 Added `$comment` as a parameter.
    26002600 *
    26012601 * @param object|int $comment Object of the activity comment or activity comment ID. Usually unnecessary
     
    26102610     *
    26112611     * @since 2.0.0
    2612      * @since 2.8.0 Added $comment as a parameter.
    2613      *
    2614      * @param  object|int $comment Object of the activity comment or activity comment ID. Usually unnecessary
     2612     * @since 2.8.0 Added `$comment` as a parameter.
     2613     *
     2614     * @param object|int $comment Object of the activity comment or activity comment ID. Usually unnecessary
    26152615     *                             when used in activity comment loop.
    26162616     * @return int
     
    26572657         *
    26582658         * @since 2.0.0
    2659          *
    2660          * @param int $depth Depth for the current activity comment.
    2661          */
    2662         return apply_filters( 'bp_activity_get_comment_depth', $depth );
     2659         * @since 15.0.0 Added `$comment` as a parameter.
     2660         *
     2661         * @param int        $depth Depth for the current activity comment.
     2662         * @param object|int $comment Object of the activity comment or activity comment ID.
     2663         */
     2664        return apply_filters( 'bp_activity_get_comment_depth', $depth, $comment );
    26632665    }
    26642666
Note: See TracChangeset for help on using the changeset viewer.