Changeset 10137
- Timestamp:
- 09/24/2015 11:49:25 PM (9 years ago)
- Location:
- trunk/src/bp-settings
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-settings/bp-settings-actions.php
r9994 r10137 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Settings Actions … … 9 8 */ 10 9 11 // Exit if accessed directly 10 // Exit if accessed directly. 12 11 defined( 'ABSPATH' ) || exit; 13 12 … … 127 126 * Filter the email text sent when a user changes emails. 128 127 * 129 * @since BuddyPress (2.1.0)128 * @since 2.1.0 130 129 * 131 130 * @param string $email_text Text of the email. … … 271 270 * Fires after the general settings have been saved, and before redirect. 272 271 * 273 * @since BuddyPress (1.5.0)272 * @since 1.5.0 274 273 */ 275 274 do_action( 'bp_core_general_settings_after_save' ); … … 321 320 * Fires after the notification settings have been saved, and before redirect. 322 321 * 323 * @since BuddyPress (1.5.0)322 * @since 1.5.0 324 323 */ 325 324 do_action( 'bp_core_notification_settings_after_save' ); … … 364 363 * Fires before the capabilities settings have been saved. 365 364 * 366 * @since BuddyPress (1.6.0)365 * @since 1.6.0 367 366 */ 368 367 do_action( 'bp_settings_capabilities_before_save' ); … … 379 378 * Fires after processing a user as a spammer. 380 379 * 381 * @since BuddyPress (1.1.0)380 * @since 1.1.0 382 381 * 383 382 * @param int $value ID of the currently displayed user. … … 392 391 * Fires after the capabilities settings have been saved and before redirect. 393 392 * 394 * @since BuddyPress (1.6.0)393 * @since 1.6.0 395 394 */ 396 395 do_action( 'bp_settings_capabilities_after_save' ); … … 450 449 * Process email change verification or cancel requests. 451 450 * 452 * @since BuddyPress (2.1.0)451 * @since 2.1.0 453 452 */ 454 453 function bp_settings_verify_email_change(){ … … 508 507 * Removes 'Email' sub nav, if no component has registered options there. 509 508 * 510 * @since BuddyPress (2.2.0)509 * @since 2.2.0 511 510 */ 512 511 function bp_settings_remove_email_subnav() { -
trunk/src/bp-settings/bp-settings-functions.php
r9819 r10137 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Settings Functions … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; -
trunk/src/bp-settings/bp-settings-loader.php
r9994 r10137 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Settings Loader. … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; 12 11 … … 16 15 * Start the settings component creation process. 17 16 * 18 * @since BuddyPress (1.5.0)17 * @since 1.5.0 19 18 */ 20 19 public function __construct() { … … 51 50 * @param array $args Array of arguments. 52 51 * 53 * @since BuddyPress (1.5.0)52 * @since 1.5.0 54 53 */ 55 54 public function setup_globals( $args = array() ) { -
trunk/src/bp-settings/bp-settings-screens.php
r9994 r10137 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Settings Screens. … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; 12 11 … … 14 13 * Show the general settings template. 15 14 * 16 * @since BuddyPress (1.5.0)15 * @since 1.5.0 17 16 */ 18 17 function bp_settings_screen_general() { … … 26 25 * Filters the template file path to use for the general settings screen. 27 26 * 28 * @since BuddyPress (1.6.0)27 * @since 1.6.0 29 28 * 30 29 * @param string $value Directory path to look in for the template file. … … 36 35 * Show the notifications settings template. 37 36 * 38 * @since BuddyPress (1.5.0)37 * @since 1.5.0 39 38 */ 40 39 function bp_settings_screen_notification() { … … 48 47 * Filters the template file path to use for the notification settings screen. 49 48 * 50 * @since BuddyPress (1.6.0)49 * @since 1.6.0 51 50 * 52 51 * @param string $value Directory path to look in for the template file. … … 58 57 * Show the delete-account settings template. 59 58 * 60 * @since BuddyPress (1.5.0)59 * @since 1.5.0 61 60 */ 62 61 function bp_settings_screen_delete_account() { … … 70 69 * Filters the template file path to use for the delete-account settings screen. 71 70 * 72 * @since BuddyPress (1.6.0)71 * @since 1.6.0 73 72 * 74 73 * @param string $value Directory path to look in for the template file. … … 80 79 * Show the capabilities settings template. 81 80 * 82 * @since BuddyPress (1.6.0)81 * @since 1.6.0 83 82 */ 84 83 function bp_settings_screen_capabilities() { … … 92 91 * Filters the template file path to use for the capabilities settings screen. 93 92 * 94 * @since BuddyPress (1.6.0)93 * @since 1.6.0 95 94 * 96 95 * @param string $value Directory path to look in for the template file. -
trunk/src/bp-settings/bp-settings-template.php
r9994 r10137 1 1 <?php 2 3 2 /** 4 3 * BuddyPress Settings Template Functions. … … 8 7 */ 9 8 10 // Exit if accessed directly 9 // Exit if accessed directly. 11 10 defined( 'ABSPATH' ) || exit; 12 11 … … 16 15 * @package BuddyPress 17 16 * @subpackage SettingsTemplate 18 * @since BuddyPress (1.5.0)17 * @since 1.5.0 19 18 * 20 19 * @uses bp_get_settings_slug() … … 28 27 * @package BuddyPress 29 28 * @subpackage SettingsTemplate 30 * @since BuddyPress (1.5.0)29 * @since 1.5.0 31 30 */ 32 31 function bp_get_settings_slug() { … … 35 34 * Filters the Settings component slug. 36 35 * 37 * @since BuddyPress (1.5.0)36 * @since 1.5.0 38 37 * 39 38 * @param string $slug Settings component slug. … … 47 46 * @package BuddyPress 48 47 * @subpackage SettingsTemplate 49 * @since BuddyPress (1.5.0)48 * @since 1.5.0 50 49 * 51 50 * @uses bp_get_settings_root_slug() … … 59 58 * @package BuddyPress 60 59 * @subpackage SettingsTemplate 61 * @since BuddyPress (1.5.0)60 * @since 1.5.0 62 61 */ 63 62 function bp_get_settings_root_slug() { … … 66 65 * Filters the Settings component root slug. 67 66 * 68 * @since BuddyPress (1.5.0)67 * @since 1.5.0 69 68 * 70 69 * @param string $root_slug Settings component root slug. … … 76 75 * Add the 'pending email change' message to the settings page. 77 76 * 78 * @since BuddyPress (2.1.0)77 * @since 2.1.0 79 78 */ 80 79 function bp_settings_pending_email_notice() {
Note: See TracChangeset
for help on using the changeset viewer.