Changeset 9215 for trunk/src/bp-settings/bp-settings-actions.php
- Timestamp:
- 12/06/2014 09:19:03 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-settings/bp-settings-actions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-actions.php
r9198 r9215 129 129 * @since BuddyPress (2.1.0) 130 130 * 131 * @param string $email_textText of the email.132 * @param string $new_user_email New user email that133 * thecurrent user has changed to.134 * @param string $old_user_email Existing email addres135 * for the current user.136 * @param object $update_user Userdatafor the current user.131 * @param string $email_text Text of the email. 132 * @param string $new_user_email New user email that the 133 * current user has changed to. 134 * @param string $old_user_email Existing email address 135 * for the current user. 136 * @param WP_User $update_user Userdata object for the current user. 137 137 */ 138 138 $content = apply_filters( 'bp_new_user_email_content', $email_text, $user_email, $old_user_email, $update_user ); … … 258 258 bp_core_add_message( implode( '</p><p>', $feedback ), $feedback_type ); 259 259 260 // Execute additional code 260 /** 261 * Fires after the general settings have been saved, and before redirect. 262 * 263 * @since BuddyPress (1.5.0) 264 */ 261 265 do_action( 'bp_core_general_settings_after_save' ); 262 266 … … 304 308 } 305 309 310 /** 311 * Fires after the notificaton settings have been saved, and before redirect. 312 * 313 * @since BuddyPress (1.5.0) 314 */ 306 315 do_action( 'bp_core_notification_settings_after_save' ); 307 316 … … 342 351 check_admin_referer( 'capabilities' ); 343 352 353 /** 354 * Fires before the capabilities settings have been saved. 355 * 356 * @since BuddyPress (1.6.0) 357 */ 344 358 do_action( 'bp_settings_capabilities_before_save' ); 345 359 … … 351 365 $status = ( true == $is_spammer ) ? 'spam' : 'ham'; 352 366 bp_core_process_spammer_status( bp_displayed_user_id(), $status ); 367 368 /** 369 * Fires after processing a user as a spammer. 370 * 371 * @since BuddyPress (1.1.0) 372 * 373 * @param int $value ID of the currently displayed user. 374 * @param string $status Determined status of "spam" or "ham" for the displayed user. 375 */ 353 376 do_action( 'bp_core_action_set_spammer_status', bp_displayed_user_id(), $status ); 354 377 } … … 356 379 /** Other *************************************************************/ 357 380 381 /** 382 * Fires after the capabilities settings have been saved and before redirect. 383 * 384 * @since BuddyPress (1.6.0) 385 */ 358 386 do_action( 'bp_settings_capabilities_after_save' ); 359 387
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)