Skip to:
Content

BuddyPress.org

Ticket #8156: 8156.5.patch

File 8156.5.patch, 882 bytes (added by imath, 5 months ago)

Missing functions to deprecate

  • src/bp-core/deprecated/6.0.php

    diff --git src/bp-core/deprecated/6.0.php src/bp-core/deprecated/6.0.php
    index cf75d5b8e..9fc68c35f 100644
    function xprofile_action_delete_avatar() { 
    6161
    6262        bp_members_action_delete_avatar();
    6363}
     64
     65/**
     66 * Displays the change cover image page.
     67 *
     68 * @since 2.4.0
     69 * @deprecated 6.0.0
     70 */
     71function xprofile_screen_change_cover_image() {
     72        _deprecated_function( __FUNCTION__, '6.0.0', 'bp_members_screen_change_cover_image()' );
     73
     74        bp_members_screen_change_cover_image();
     75}
     76
     77/**
     78 * Handles the uploading and cropping of a user avatar. Displays the change avatar page.
     79 *
     80 * @since 1.0.0
     81 * @deprecated 6.0.0
     82 */
     83function xprofile_screen_change_avatar() {
     84        _deprecated_function( __FUNCTION__, '6.0.0', 'bp_members_screen_change_avatar()' );
     85
     86        bp_members_screen_change_avatar();
     87}