Changeset 9833 for trunk/src/bp-activity/bp-activity-actions.php
- Timestamp:
- 05/03/2015 06:51:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-actions.php
r9819 r9833 167 167 * 168 168 * @param int $activity_id The activity ID. 169 * @param int $user_id The user associated with the activity.169 * @param int $user_id The user associated with the activity. 170 170 */ 171 171 do_action( 'bp_activity_before_action_delete_activity', $activity_id, $activity->user_id ); … … 183 183 * 184 184 * @param int $activity_id The activity ID. 185 * @param int $user_id The user associated with the activity.185 * @param int $user_id The user associated with the activity. 186 186 */ 187 187 do_action( 'bp_activity_action_delete_activity', $activity_id, $activity->user_id ); … … 201 201 * 202 202 * @param int $activity_id Activity id to be deleted. Defaults to 0. 203 * 203 204 * @return bool False on failure. 204 205 */ … … 235 236 * 236 237 * @param int $activity_id Activity ID to be marked as spam. 237 * @param object $activity Activity object for the ID to be marked as spam.238 * @param object $activity Activity object for the ID to be marked as spam. 238 239 */ 239 240 do_action( 'bp_activity_before_action_spam_activity', $activity->id, $activity ); … … 252 253 * 253 254 * @param int $activity_id Activity ID that was marked as spam. 254 * @param int $user_id User ID associated with activity.255 * @param int $user_id User ID associated with activity. 255 256 */ 256 257 do_action( 'bp_activity_action_spam_activity', $activity_id, $activity->user_id ); … … 299 300 * @since BuddyPress (1.2.0) 300 301 * 301 * @param string $ whats-newActivity message being posted.302 * @param string $value Activity message being posted. 302 303 */ 303 304 $content = apply_filters( 'bp_activity_post_update_content', $_POST['whats-new'] ); … … 310 311 * @since BuddyPress (1.2.0) 311 312 * 312 * @param string $ whats-new-post-objectItem type to associate with.313 * @param string $value Item type to associate with. 313 314 */ 314 315 $object = apply_filters( 'bp_activity_post_update_object', $_POST['whats-new-post-object'] ); … … 322 323 * @since BuddyPress (1.2.0) 323 324 * 324 * @param string $ whats-new-post-inChosen component to post activity to.325 * @param string $value Chosen component to post activity to. 325 326 */ 326 327 $item_id = apply_filters( 'bp_activity_post_update_item_id', $_POST['whats-new-post-in'] ); … … 350 351 * @since BuddyPress (1.2.0) 351 352 * 352 * @param string $object Activity item being associated to.353 * @param string $object Activity item being associated to. 353 354 * @param string $item_id Component ID being posted to. 354 355 * @param string $content Activity content being posted. … … 399 400 * @since BuddyPress (1.2.0) 400 401 * 401 * @param string $ comment_form_idID of the activity being replied to.402 * @param string $value ID of the activity being replied to. 402 403 */ 403 404 $activity_id = apply_filters( 'bp_activity_post_comment_activity_id', $_POST['comment_form_id'] ); … … 408 409 * @since BuddyPress (1.2.0) 409 410 * 410 * @param string $ ac_input_activity_idComment content being posted.411 * @param string $value Comment content being posted. 411 412 */ 412 413 $content = apply_filters( 'bp_activity_post_comment_content', $_POST['ac_input_' . $activity_id] ); … … 729 730 * @since BuddyPress (1.6.0) 730 731 * 731 * @param bool bp_is_akismet_active Return value of bp_is_akismet_active boolean function.732 * @param bool $value Return value of bp_is_akismet_active boolean function. 732 733 */ 733 734 if ( ! apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) )
Note: See TracChangeset
for help on using the changeset viewer.