Skip to:
Content

BuddyPress.org

Changeset 10501


Ignore:
Timestamp:
02/03/2016 08:15:40 PM (4 years ago)
Author:
djpaul
Message:

Emails: fix parameter order in backwards compatibility code for old email actions.

See #6592

File:
1 edited

Legend:

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

    r10500 r10501  
    658658 * @since 2.5.0
    659659 *
    660  * @param BP_Email $email Email object reference.
    661660 * @param bool|WP_Error $delivery_status Bool if the email was sent or not.
    662661 *                                       If a WP_Error, there was a failure.
     662 * @param BP_Email $email Email object reference.
    663663 * @return mixed
    664664 */
    665 function bp_core_deprecated_email_actions( $email, $delivery_status ) {
     665function bp_core_deprecated_email_actions( $delivery_status, $email ) {
    666666    $pre_2_5_emails = array(
    667667        'activity-comment',
Note: See TracChangeset for help on using the changeset viewer.