Skip to:
Content

BuddyPress.org

Changeset 10595


Ignore:
Timestamp:
02/15/2016 07:50:53 PM (9 years ago)
Author:
djpaul
Message:

Emails: remove copypasta from Backwards Compatibility actions code.

Causes PHP Warnings when used with a non-core email type because actions don't have return values (and $value is unset).

File:
1 edited

Legend:

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

    r10544 r10595  
    696696    // Backpat for pre-2.5 emails only.
    697697    if ( ! in_array( $email_type, $pre_2_5_emails, true ) ) {
    698         return $value;
     698        return;
    699699    }
    700700
Note: See TracChangeset for help on using the changeset viewer.