Changeset 6583 for trunk/bp-core/deprecated/1.5.php
- Timestamp:
- 12/10/2012 08:47:07 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/deprecated/1.5.php
r6474 r6583 13 13 /** Loader ********************************************************************/ 14 14 15 /** 16 * @deprecated BuddyPress (1.5) 17 */ 15 18 function bp_setup_root_components() { 16 19 do_action( 'bp_setup_root_components' ); … … 26 29 * Use is_multisite() instead. 27 30 * 28 * @deprecated 1.531 * @deprecated BuddyPress (1.5) 29 32 * @deprecated Use is_multisite() 30 33 */ … … 39 42 * Checks if current blog is root blog of site. Deprecated in 1.5. 40 43 * 41 * @deprecated 1.544 * @deprecated BuddyPress (1.5) 42 45 * @deprecated Use is_main_site() 43 46 * @package BuddyPress … … 54 57 * WPMU version of is_super_admin() 55 58 * 56 * @deprecated 1.559 * @deprecated BuddyPress (1.5) 57 60 * @deprecated Use is_super_admin() 58 61 * @param int $user_id Optional. Defaults to logged-in user … … 72 75 * that allowed positioning of menus. Deprecated in 1.5 in favour of a WP core function. 73 76 * 74 * @deprecated 1.577 * @deprecated BuddyPress (1.5) 75 78 * @deprecated Use add_menu_page(). 76 79 * @since BuddyPress (1.1) … … 118 121 /** Activity ******************************************************************/ 119 122 123 /** 124 * @deprecated BuddyPress (1.5) 125 */ 120 126 function bp_is_activity_permalink() { 121 127 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_single_activity' ); … … 125 131 /** Core **********************************************************************/ 126 132 133 /** 134 * @deprecated BuddyPress (1.5) 135 */ 127 136 function bp_core_get_wp_profile() { 128 137 _deprecated_function( __FUNCTION__, '1.5' ); 129 130 global $bp;131 138 132 139 $ud = get_userdata( bp_displayed_user_id() ); ?> … … 197 204 } 198 205 206 /** 207 * @deprecated BuddyPress (1.5) 208 * @deprecated Use bp_is_my_profile() 209 */ 199 210 function bp_is_home() { 200 211 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_my_profile' ); … … 205 216 * Is the user on the front page of the site? 206 217 * 207 * @deprecated 1.5218 * @deprecated BuddyPress (1.5) 208 219 * @deprecated Use is_front_page() 209 220 * @return bool … … 217 228 * Is the front page of the site set to the Activity component? 218 229 * 219 * @deprecated 1.5230 * @deprecated BuddyPress (1.5) 220 231 * @deprecated Use bp_is_component_front_page( 'activity' ) 221 232 * @return bool … … 226 237 } 227 238 239 /** 240 * @deprecated BuddyPress (1.5) 241 * @deprecated use bp_is_user() 242 */ 228 243 function bp_is_member() { 229 244 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user' ); … … 231 246 } 232 247 248 /** 249 * @deprecated BuddyPress (1.5) 250 * @deprecated use bp_loggedin_user_link() 251 */ 233 252 function bp_loggedinuser_link() { 234 253 _deprecated_function( __FUNCTION__, '1.5', 'bp_logged_in_user_link' ); … … 240 259 * Deprecated in 1.5; not used anymore. 241 260 * 261 * @deprecated BuddyPress (1.5) 242 262 * @return bool 243 263 */ … … 250 270 * Template tag version of bp_get_page_title() 251 271 * 252 * @deprecated 1.5272 * @deprecated BuddyPress (1.5) 253 273 * @deprecated Use wp_title() 254 274 * @since BuddyPress (1.0) … … 261 281 * Now, just simply use wp_title(). 262 282 * 263 * @deprecated 1.5283 * @deprecated BuddyPress (1.5) 264 284 * @deprecated Use wp_title() 265 285 * @since BuddyPress (1.0) … … 278 298 * Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url(). 279 299 * 280 * @deprecated 1.5300 * @deprecated BuddyPress (1.5) 281 301 * @deprecated Use wp_logout_url() 282 302 * @since BuddyPress (1.0) … … 292 312 * Send an email and a BP notification on receipt of an @-mention in a group 293 313 * 294 * @deprecated 1.5314 * @deprecated BuddyPress (1.5) 295 315 * @deprecated Deprecated in favor of the more general bp_activity_at_message_notification() 296 316 */ 297 317 function groups_at_message_notification( $content, $poster_user_id, $group_id, $activity_id ) { 298 global $bp;299 300 318 _deprecated_function( __FUNCTION__, '1.5', 'bp_activity_at_message_notification()' ); 301 319 … … 361 379 /** 362 380 * BP 1.5 simplified notification functions a bit 381 * @deprecated BuddyPress (1.5) 363 382 */ 364 383 function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) { … … 374 393 /** 375 394 * In BP 1.5, these functions were renamed for greater consistency 395 * @deprecated BuddyPress (1.5) 376 396 */ 377 397 function bp_forum_directory_permalink() { … … 386 406 /** 387 407 * Last used by core in BP 1.1. The markup was merged into DTheme's header.php template. 408 * @deprecated BuddyPress (1.5) 388 409 */ 389 410 function bp_search_form() { … … 405 426 /** 406 427 * Some _is_ function had their names normalized 428 * @deprecated BuddyPress (1.5) 407 429 */ 408 430 function bp_is_profile_edit() { … … 411 433 } 412 434 435 /** 436 * @deprecated BuddyPress (1.5) 437 */ 413 438 function bp_is_change_avatar() { 414 439 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_change_avatar()' ); … … 416 441 } 417 442 443 /** 444 * @deprecated BuddyPress (1.5) 445 */ 418 446 function bp_is_friend_requests() { 419 447 _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_friend_requests()' ); … … 426 454 * You should be using bp_is_root_component(). 427 455 * 428 * @deprecated 1.5456 * @deprecated BuddyPress (1.5) 429 457 * @deprecated bp_is_root_component() 430 458 * @return true if root component, else false. … … 441 469 * in BuddyPress 1.5. 442 470 * 471 * @deprecated BuddyPress (1.5) 443 472 * @since BuddyPress (1.5) 444 473 */ … … 450 479 * include "Activity Stream." As of 1.5.x, it is no longer required. 451 480 * 452 * @deprecated 1.5481 * @deprecated BuddyPress (1.5) 453 482 * @deprecated No longer required. 454 483 * @param string $page_html A list of pages as a dropdown (select list) … … 468 497 * As of 1.5.x, it is no longer required. 469 498 * 470 * @deprecated 1.5499 * @deprecated BuddyPress (1.5) 471 500 * @deprecated No longer required. 472 501 * @param $string $oldvalue Previous value of get_option( 'page_on_front' ) … … 489 518 * As of 1.5.x, it is no longer required. 490 519 * 491 * @deprecated 1.5520 * @deprecated BuddyPress (1.5) 492 521 * @deprecated No longer required. 493 522 * @param string $template Absolute path to the page template … … 506 535 * As of 1.5.x, it is no longer required. 507 536 * 508 * @deprecated 1.5537 * @deprecated BuddyPress (1.5) 509 538 * @deprecated No longer required. 510 539 * @since BuddyPress (1.2) … … 520 549 * As of 1.5.x, it is no longer required. 521 550 * 522 * @deprecated 1.5551 * @deprecated BuddyPress (1.5) 523 552 * @deprecated No longer required. 524 553 * @param array $posts Posts as retrieved by WP_Query … … 537 566 * As of 1.5.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php. 538 567 * 539 * @deprecated 1.5568 * @deprecated BuddyPress (1.5) 540 569 * @deprecated Enqueue the comment-reply script in your theme's header.php. 541 570 * @since BuddyPress (1.2)
Note: See TracChangeset
for help on using the changeset viewer.