Changeset 3757 for trunk/bp-core/bp-core-deprecated.php
- Timestamp:
- 01/20/2011 10:53:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-deprecated.php
r3748 r3757 6 6 * @package BuddyPress 7 7 * @subpackage Core 8 * 8 * @deprecated Since 1.3 9 9 */ 10 11 /** Sign up *******************************************************************/ 12 13 function bp_core_screen_signup() { 14 _deprecated_function( 'bp_core_screen_signup', '1.3', 'bp_users_screen_signup' ); 15 bp_users_screen_signup(); 16 } 17 18 function bp_core_screen_activation() { 19 _deprecated_function( 'bp_core_screen_activation', '1.3', 'bp_users_screen_activation' ); 20 bp_users_screen_activation(); 21 } 22 23 function bp_core_flush_illegal_names() { 24 _deprecated_function( 'bp_core_flush_illegal_names', '1.3', 'bp_users_flush_illegal_names' ); 25 bp_users_flush_illegal_names(); 26 } 27 28 function bp_core_illegal_names( $value = '', $oldvalue = '' ) { 29 _deprecated_function( 'bp_core_illegal_names', '1.3', 'bp_users_illegal_names' ); 30 bp_users_illegal_names( $value, $oldvalue ); 31 } 32 33 function bp_core_validate_user_signup( $user_name, $user_email ) { 34 _deprecated_function( 'bp_core_validate_user_signup', '1.3', 'bp_users_validate_user_signup' ); 35 bp_users_validate_user_signup( $user_name, $user_email ); 36 } 37 38 function bp_core_validate_blog_signup( $blog_url, $blog_title ) { 39 _deprecated_function( 'bp_core_validate_blog_signup', '1.3', 'bp_users_validate_blog_signup' ); 40 bp_users_validate_blog_signup( $blog_url, $blog_title ); 41 } 42 43 function bp_core_signup_user( $user_login, $user_password, $user_email, $usermeta ) { 44 _deprecated_function( 'bp_core_signup_user', '1.3', 'bp_users_signup_user' ); 45 bp_users_signup_user( $user_login, $user_password, $user_email, $usermeta ); 46 } 47 48 function bp_core_signup_blog( $blog_domain, $blog_path, $blog_title, $user_name, $user_email, $usermeta ) { 49 _deprecated_function( 'bp_core_signup_blog', '1.3', 'bp_users_signup_blog' ); 50 bp_users_signup_blog( $blog_domain, $blog_path, $blog_title, $user_name, $user_email, $usermeta ); 51 } 52 53 function bp_core_activate_signup( $key ) { 54 _deprecated_function( 'bp_core_activate_signup', '1.3', 'bp_users_activate_signup' ); 55 bp_users_activate_signup( $key ); 56 } 57 58 function bp_core_new_user_activity( $user ) { 59 _deprecated_function( 'bp_core_new_user_activity', '1.3', 'bp_users_new_user_activity' ); 60 bp_users_new_user_activity( $user ); 61 } 62 63 function bp_core_map_user_registration( $user_id ) { 64 _deprecated_function( 'bp_core_map_user_registration', '1.3', 'bp_users_map_user_registration' ); 65 bp_users_map_user_registration( $user_id ); 66 } 67 68 function bp_core_signup_avatar_upload_dir() { 69 _deprecated_function( 'bp_core_signup_avatar_upload_dir', '1.3', 'bp_users_signup_avatar_upload_dir' ); 70 bp_users_signup_avatar_upload_dir(); 71 } 72 73 function bp_core_signup_send_validation_email( $user_id, $user_email, $key ) { 74 _deprecated_function( 'bp_core_signup_send_validation_email', '1.3', 'bp_users_signup_send_validation_email' ); 75 bp_users_signup_send_validation_email( $user_id, $user_email, $key ); 76 } 77 78 function bp_core_signup_disable_inactive( $auth_obj, $username ) { 79 _deprecated_function( 'bp_core_signup_disable_inactive', '1.3', 'bp_users_signup_disable_inactive' ); 80 bp_users_signup_disable_inactive( $auth_obj, $username ); 81 } 82 83 function bp_core_wpsignup_redirect() { 84 _deprecated_function( 'bp_core_wpsignup_redirect', '1.3', 'bp_users_wpsignup_redirect' ); 85 bp_users_wpsignup_redirect(); 86 } 87 88 /** Settings ******************************************************************/ 89 90 function bp_core_add_settings_nav() { 91 _deprecated_function( 'bp_core_add_settings_nav', '1.3', 'bp_settings_add_settings_nav' ); 92 bp_settings_add_settings_nav(); 93 } 94 95 function bp_core_can_edit_settings() { 96 _deprecated_function( 'bp_core_can_edit_settings', '1.3', 'bp_users_can_edit_settings' ); 97 bp_users_can_edit_settings(); 98 } 99 100 function bp_core_screen_general_settings() { 101 _deprecated_function( 'bp_core_screen_general_settings', '1.3', 'bp_settings_screen_general_settings' ); 102 bp_settings_screen_general_settings(); 103 } 104 105 function bp_core_screen_general_settings_title() { 106 _deprecated_function( 'bp_core_screen_general_settings_title', '1.3', 'bp_settings_screen_general_settings' ); 107 } 108 109 function bp_core_screen_general_settings_content() { 110 _deprecated_function( 'bp_core_screen_general_settings_content', '1.3', 'bp_settings_screen_general_settings' ); 111 } 112 113 function bp_core_screen_notification_settings() { 114 _deprecated_function( 'bp_core_screen_notification_settings', '1.3', 'bp_settings_screen_notification_settings' ); 115 bp_settings_screen_notification_settings(); 116 } 117 118 function bp_core_screen_notification_settings_title() { 119 _deprecated_function( 'bp_core_screen_notification_settings_title', '1.3', 'bp_settings_screen_notification_settings' ); 120 } 121 122 function bp_core_screen_notification_settings_content() { 123 _deprecated_function( 'bp_core_screen_notification_settings_content', '1.3', 'bp_settings_screen_notification_settings' ); 124 } 125 126 function bp_core_screen_delete_account() { 127 _deprecated_function( 'bp_core_screen_delete_account', '1.3', 'bp_settings_screen_delete_account' ); 128 bp_settings_screen_delete_account(); 129 } 130 131 function bp_core_screen_delete_account_title() { 132 _deprecated_function( 'bp_core_screen_delete_account_title', '1.3', 'bp_settings_screen_delete_account' ); 133 } 134 135 function bp_core_screen_delete_account_content() { 136 _deprecated_function( 'bp_core_screen_delete_account_content', '1.3', 'bp_settings_screen_delete_account' ); 137 } 138 139 /** Notifications *************************************************************/ 140 141 function bp_core_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id = false, $date_notified = false ) { 142 _deprecated_function( 'bp_core_add_notification', '1.3', 'bp_users_add_notification' ); 143 bp_users_add_notification( $item_id, $user_id, $component_name, $component_action, $secondary_item_id, $date_notified ); 144 } 145 146 function bp_core_delete_notification( $id ) { 147 _deprecated_function( 'bp_core_delete_notification', '1.3', 'bp_users_delete_notification' ); 148 bp_users_delete_notification( $id ); 149 } 150 151 function bp_core_get_notification( $id ) { 152 _deprecated_function( 'bp_core_get_notification', '1.3', 'bp_users_get_notification' ); 153 bp_users_get_notification( $id ); 154 } 155 156 function bp_core_get_notifications_for_user( $user_id ) { 157 _deprecated_function( 'bp_core_get_notifications_for_user', '1.3', 'bp_users_get_notifications_for_user' ); 158 bp_users_get_notifications_for_user( $user_id ); 159 } 160 161 function bp_core_delete_notifications_by_type( $user_id, $component_name, $component_action ) { 162 _deprecated_function( 'bp_core_delete_notifications_by_type', '1.3', 'bp_users_delete_notifications_by_type' ); 163 bp_users_delete_notifications_by_type( $user_id, $component_name, $component_action ); 164 } 165 166 function bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) { 167 _deprecated_function( 'bp_core_delete_notifications_for_user_by_item_id', '1.3', 'bp_users_delete_notifications_by_item_id' ); 168 bp_users_delete_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id ); 169 } 170 171 function bp_core_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) { 172 _deprecated_function( 'bp_core_delete_all_notifications_by_type', '1.3', 'bp_users_delete_all_notifications_by_type' ); 173 bp_users_delete_all_notifications_by_type( $item_id, $component_name, $component_action, $secondary_item_id ); 174 } 175 176 function bp_core_delete_notifications_from_user( $user_id, $component_name, $component_action ) { 177 _deprecated_function( 'bp_core_delete_notifications_from_user', '1.3', 'bp_users_delete_notifications_from_user' ); 178 bp_users_delete_notifications_from_user( $user_id, $component_name, $component_action ); 179 } 180 181 function bp_core_check_notification_access( $user_id, $notification_id ) { 182 _deprecated_function( 'bp_core_check_notification_access', '1.3', 'bp_users_check_notification_access' ); 183 bp_users_check_notification_access( $user_id, $notification_id ); 184 } 185 186 /** Core **********************************************************************/ 10 187 11 188 /** … … 58 235 } 59 236 237 /** Theme *********************************************************************/ 238 60 239 /** 61 * Contains functions which were moved out of BP-Default's functions.php in BuddyPress 1.3. 240 * Contains functions which were moved out of BP-Default's functions.php 241 * in BuddyPress 1.3. 62 242 * 63 243 * @since 1.3 … … 66 246 if ( !function_exists( 'bp_dtheme_wp_pages_filter' ) ) : 67 247 /** 68 * In BuddyPress 1.2.x, this function filtered the dropdown on the Settings > Reading screen for selecting69 * the page to show on front to include "Activity Stream."70 * As of 1.3.x, it is no longer required.248 * In BuddyPress 1.2.x, this function filtered the dropdown on the 249 * Settings > Reading screen for selecting the page to show on front to 250 * include "Activity Stream." As of 1.3.x, it is no longer required. 71 251 * 72 252 * @deprecated 1.3
Note: See TracChangeset
for help on using the changeset viewer.