Changeset 9315 for trunk/src/bp-activity/bp-activity-actions.php
- Timestamp:
- 01/08/2015 09:43:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-actions.php
r9308 r9315 92 92 93 93 // Set redirect to users' activity stream 94 } else 94 } elseif ( ! empty( $activity->user_id ) ) { 95 95 $redirect = bp_core_get_user_domain( $activity->user_id, $activity->user_nicename, $activity->user_login ) . bp_get_activity_slug() . '/' . $activity->id . '/'; 96 96 } … … 340 340 341 341 // Post to groups object 342 } else 342 } elseif ( 'groups' == $object && bp_is_active( 'groups' ) ) { 343 343 if ( (int) $item_id ) { 344 344 $activity_id = groups_post_update( array( 'content' => $content, 'group_id' => $item_id ) ); … … 812 812 813 813 // Unpublishing a previously published post. 814 } else 814 } elseif ( 'publish' === $old_status ) { 815 815 // Some form of pending status - only remove the activity entry 816 816 bp_activity_post_type_unpublish( $post->ID, $post );
Note: See TracChangeset
for help on using the changeset viewer.