Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/10/2015 05:17:33 PM (9 years ago)
Author:
r-a-y
Message:

Activity: Allow RSS to be modified on the 'bp_activity_feed_prefetch' action.

The BP_Activity_Feed' class was missing the magic set()` method, making
overriding existing feed properties impossible.

Props needle.

Fixes #6420.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/classes/class-bp-activity-feed.php

    r10077 r10094  
    6565
    6666    /**
     67     * Magic method for setting a certain data variable.
     68     *
     69     * @since 2.4.0
     70     *
     71     * @param string $key   The property to set.
     72     * @param mixed  $value The value to set.
     73     */
     74    public function __set( $key, $value ) { $this->data[$key] = $value; }
     75
     76    /**
    6777     * Constructor.
    6878     *
Note: See TracChangeset for help on using the changeset viewer.