diff --git a/includes/activity/class-activity-object.php b/includes/activity/class-activity-object.php index 0115a40..a71a83e 100644 --- a/includes/activity/class-activity-object.php +++ b/includes/activity/class-activity-object.php @@ -524,7 +524,10 @@ class Activity_Object { $this->$key = array(); } - $this->$key[] = $value; + $attributes = $this->$key; + $attributes[] = $value; + + $this->$key = $attributes; return $this->$key; } diff --git a/includes/collection/class-followers.php b/includes/collection/class-followers.php index 96b9099..39bfc2b 100644 --- a/includes/collection/class-followers.php +++ b/includes/collection/class-followers.php @@ -76,9 +76,7 @@ class Followers { self::POST_TYPE, 'icon', array( - //'type' => 'string', 'single' => true, - //'sanitize_callback' => array( self::class, 'sanitize_url' ), ) );