Changeset 11837
- Timestamp:
- 01/31/2018 02:37:23 PM (7 years ago)
- Location:
- trunk/src/bp-activity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r11806 r11837 2621 2621 * 2622 2622 * @since 1.2.0 2623 * 2624 * @param string $r Content for the newly posted comment. 2625 */ 2626 $comment_content = apply_filters( 'bp_activity_comment_content', $r['content'] ); 2623 * @since 3.0.0 Added $context parameter to disambiguate from bp_get_activity_comment_content(). 2624 * 2625 * @param string $r Content for the newly posted comment. 2626 * @param string $context This filter's context ("new"). 2627 */ 2628 $comment_content = apply_filters( 'bp_activity_comment_content', $r['content'], 'new' ); 2627 2629 2628 2630 // Insert the activity comment. -
trunk/src/bp-activity/bp-activity-template.php
r11764 r11837 2137 2137 * 2138 2138 * @since 1.2.0 2139 * @since 3.0.0 Added $context parameter to disambiguate from bp_get_activity_comment_content(). 2139 2140 * 2140 2141 * @param string $content The content of the current activity comment. 2141 */ 2142 return apply_filters( 'bp_activity_comment_content', $content ); 2142 * @param string $context This filter's context ("get"). 2143 */ 2144 return apply_filters( 'bp_activity_comment_content', $content, 'get' ); 2143 2145 } 2144 2146
Note: See TracChangeset
for help on using the changeset viewer.