Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/06/2020 04:26:51 PM (6 years ago)
Author:
imath
Message:

BP Nouveau: remove unnecessary code & deprecate a function

The introduction of the BP Invitations feature in BuddyPress 6.0.0 is now making sure the optional Group's inviter message is included into the BP Email sent to the user.

Let's simply remove unnecessary code & deprecate bp_nouveau_groups_invites_custom_message().

Props DJPaul

Fixes #7875

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php

    r12647 r12714  
    364364
    365365/**
    366  * @since 3.0.0
     366 * Includes a message into the sent invitation email.
     367 *
     368 * @since 3.0.0
     369 * @deprecated 7.0.0
     370 *
     371 * @param string $message The message to send with the invite
    367372 */
    368373function bp_nouveau_groups_invites_custom_message( $message = '' ) {
     374        _deprecated_function( __FUNCTION__, '7.0.0' );
     375
    369376        if ( empty( $message ) ) {
    370377                return $message;
Note: See TracChangeset for help on using the changeset viewer.