Skip to:
Content

BuddyPress.org

Changeset 6125


Ignore:
Timestamp:
06/19/2012 07:29:28 PM (13 years ago)
Author:
djpaul
Message:

Deprecate missing Settings and Notification screen functions which
were removed from BP 1.5 without being deprecated. This clears fatal
errors which you could see if a 1.2-era site was upgraded straight
to 1.5. Fixes #4249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.5.php

    r6093 r6125  
    536536add_action( 'after_setup_theme', 'bp_dtheme_deprecated', 15 );
    537537
     538/**
     539 * In BP 1.5, the Settings functions were moved out of the Core and Members
     540 * components, and moved into a new Settings component. This function is no
     541 * longer needed as the nav structure is set up by the {@link BP_Component} class.
     542 *
     543 * @deprecated BuddyPress (1.5)
     544 * @since BuddyPress (1.6)
     545 */
     546function bp_core_add_settings_nav() {
     547    _deprecated_function( __FUNCTION__, '1.5' );
     548}
     549
     550/**
     551 * In BP 1.5, the Settings functions were moved out of the Core and Members
     552 * components, and moved into a new Settings component. This function is no
     553 * longer needed as new template files for the Settings component were
     554 * introduced.
     555 *
     556 * @deprecated BuddyPress (1.5)
     557 * @since BuddyPress (1.6)
     558 */
     559function bp_core_screen_general_settings() {
     560    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     561}
     562
     563/**
     564 * In BP 1.5, the Settings functions were moved out of the Core and Members
     565 * components, and moved into a new Settings component. This function is no
     566 * longer needed as new template files for the Settings component were
     567 * introduced.
     568 *
     569 * @deprecated BuddyPress (1.5)
     570 * @since BuddyPress (1.6)
     571 */
     572function bp_core_screen_general_settings_title() {
     573    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     574}
     575
     576/**
     577 * In BP 1.5, the Settings functions were moved out of the Core and Members
     578 * components, and moved into a new Settings component. This function is no
     579 * longer needed as new template files for the Settings component were
     580 * introduced.
     581 *
     582 * @deprecated BuddyPress (1.5)
     583 * @since BuddyPress (1.6)
     584 */
     585function bp_core_screen_general_settings_content() {
     586    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     587}
     588
     589/**
     590 * In BP 1.5, the Settings functions were moved out of the Core and Members
     591 * components, and moved into a new Settings component. This function is no
     592 * longer needed as new template files for the Settings component were
     593 * introduced.
     594 *
     595 * @deprecated BuddyPress (1.5)
     596 * @since BuddyPress (1.6)
     597 */
     598function bp_core_screen_notification_settings() {
     599    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     600}
     601
     602/**
     603 * In BP 1.5, the Settings functions were moved out of the Core and Members
     604 * components, and moved into a new Settings component. This function is no
     605 * longer needed as new template files for the Settings component were
     606 * introduced.
     607 *
     608 * @deprecated BuddyPress (1.5)
     609 * @since BuddyPress (1.6)
     610 */
     611function bp_core_screen_notification_settings_title() {
     612    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     613}
     614
     615/**
     616 * In BP 1.5, the Settings functions were moved out of the Core and Members
     617 * components, and moved into a new Settings component. This function is no
     618 * longer needed as new template files for the Settings component were
     619 * introduced.
     620 *
     621 * @deprecated BuddyPress (1.5)
     622 * @since BuddyPress (1.6)
     623 */
     624function bp_core_screen_notification_settings_content() {
     625    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     626}
     627
     628/**
     629 * In BP 1.5, the Settings functions were moved out of the Core and Members
     630 * components, and moved into a new Settings component. This function is no
     631 * longer needed as new template files for the Settings component were
     632 * introduced.
     633 *
     634 * @deprecated BuddyPress (1.5)
     635 * @since BuddyPress (1.6)
     636 */
     637function bp_core_screen_delete_account() {
     638    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     639}
     640
     641/**
     642 * In BP 1.5, the Settings functions were moved out of the Core and Members
     643 * components, and moved into a new Settings component. This function is no
     644 * longer needed as new template files for the Settings component were
     645 * introduced.
     646 *
     647 * @deprecated BuddyPress (1.5)
     648 * @since BuddyPress (1.6)
     649 */
     650function bp_core_screen_delete_account_title() {
     651    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     652}
     653
     654/**
     655 * In BP 1.5, the Settings functions were moved out of the Core and Members
     656 * components, and moved into a new Settings component. This function is no
     657 * longer needed as new template files for the Settings component were
     658 * introduced.
     659 *
     660 * @deprecated BuddyPress (1.5)
     661 * @since BuddyPress (1.6)
     662 */
     663function bp_core_screen_delete_account_content() {
     664    _deprecated_function( __FUNCTION__, '1.5', 'Moved into theme template' );
     665}
    538666?>
Note: See TracChangeset for help on using the changeset viewer.