Skip to:
Content

BuddyPress.org

Changeset 10255


Ignore:
Timestamp:
10/12/2015 07:08:58 PM (4 years ago)
Author:
djpaul
Message:

Groups: deprecate broken and obsolete functions

These have been broken and unused since BuddyPress 1.2. The commit
formally deprecates them, and restores a missing function
groups_avatar_upload that would cause 1.1-era legacy templates to
fatal on any upgrade.

Fixes #6442

Location:
trunk/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r10248 r10255  
    52585258    }
    52595259
    5260 function bp_group_avatar_edit_form() {
    5261     groups_avatar_upload();
    5262 }
    5263 
    52645260function bp_custom_group_boxes() {
    52655261    do_action( 'groups_custom_group_boxes' );
  • trunk/src/bp-loader.php

    r10248 r10255  
    500500            require( $this->plugin_dir . 'bp-core/deprecated/2.2.php' );
    501501            require( $this->plugin_dir . 'bp-core/deprecated/2.3.php' );
     502            require( $this->plugin_dir . 'bp-core/deprecated/2.4.php' );
    502503        }
    503504    }
Note: See TracChangeset for help on using the changeset viewer.