Changeset 9530
- Timestamp:
- 02/22/2015 11:37:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r9522 r9530 2271 2271 global $activities_template; 2272 2272 2273 $current_comment = !empty( $activities_template->activity->current_comment ) ? $activities_template->activity->current_comment : false; 2273 $current_comment = !empty( $activities_template->activity->current_comment ) 2274 ? $activities_template->activity->current_comment 2275 : false; 2274 2276 2275 2277 /** … … 3371 3373 * @since BuddyPress (1.5.0) 3372 3374 * 3373 * @param object $commentActivity comment.3374 * @return bool $can_comment True if comment can receive comments, otherwise3375 * false.3376 */ 3377 function bp_activity_can_comment_reply( $comment = '') {3375 * @param bool|object $comment Activity comment. 3376 * @return bool $can_comment True if comment can receive comments, 3377 * otherwise false. 3378 */ 3379 function bp_activity_can_comment_reply( $comment = false ) { 3378 3380 3379 3381 // Assume activity can be commented on
Note: See TracChangeset
for help on using the changeset viewer.