Skip to:
Content

BuddyPress.org

Changeset 4396


Ignore:
Timestamp:
05/19/2011 10:24:15 PM (15 years ago)
Author:
djpaul
Message:

Fix a pair of pass-by-reference warnings, props johnjamesjacoby

Location:
trunk/bp-activity
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-actions.php

    r4337 r4396  
    5656
    5757        // Allow redirect to be filtered
    58         if ( !$redirect = apply_filters( 'bp_activity_permalink_redirect_url', $redirect, &$activity ) )
     58        if ( !$redirect = apply_filters_ref_array( 'bp_activity_permalink_redirect_url', array( $redirect, &$activity ) ) )
    5959                bp_core_redirect( bp_get_root_domain() );
    6060
  • trunk/bp-activity/bp-activity-screens.php

    r4372 r4396  
    125125
    126126        // Allow access to be filtered
    127         $has_access = apply_filters( 'bp_activity_permalink_access', $has_access, &$activity );
     127        $has_access = apply_filters_ref_array( 'bp_activity_permalink_access', array( $has_access, &$activity ) );
    128128
    129129        // Allow additional code execution
Note: See TracChangeset for help on using the changeset viewer.