Changeset 10858 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 06/01/2016 09:00:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r10819 r10858 1150 1150 * 1151 1151 * @since 1.2.0 1152 * @since 2.6.0 Added 'error_type' parameter to $args. 1152 1153 * 1153 1154 * @param array|string $args { … … 1169 1170 1170 1171 $defaults = array( 1171 'content' => false, 1172 'user_id' => bp_loggedin_user_id(), 1173 'group_id' => 0 1172 'content' => false, 1173 'user_id' => bp_loggedin_user_id(), 1174 'group_id' => 0, 1175 'error_type' => 'bool' 1174 1176 ); 1175 1177 … … 1212 1214 1213 1215 $activity_id = groups_record_activity( array( 1214 'user_id' => $user_id, 1215 'action' => $action, 1216 'content' => $content_filtered, 1217 'type' => 'activity_update', 1218 'item_id' => $group_id 1216 'user_id' => $user_id, 1217 'action' => $action, 1218 'content' => $content_filtered, 1219 'type' => 'activity_update', 1220 'item_id' => $group_id, 1221 'error_type' => $error_type 1219 1222 ) ); 1220 1223
Note: See TracChangeset
for help on using the changeset viewer.