if ($sparkle) {
$status_link = $profile_link . '/status';
- $photos_link = str_replace('/profile/', '/photos/', $profile_link);
+ $photos_link = $profile_link . '/photos';
$profile_link = $profile_link . '/profile';
}
'message_id' => $shared['uri'],
'comment' => $item['body'],
'shared' => $shared['body'],
- ];
+ ];
}
}
}
/**
- * Add a link to a shared post at the end of the post
+ * Add a link to a shared post at the end of the post
*
* @param string $body
* @param integer $quote_uri_id