mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-15 11:27:24 -04:00
Rename the feed variable from "children" to "comments" since that
makes more semantic sense.
This commit is contained in:
@@ -47,10 +47,10 @@ class comment_rss_Core {
|
||||
|
||||
$feed = new stdClass();
|
||||
$feed->view = "comment.mrss";
|
||||
$feed->children = array();
|
||||
$feed->comments = array();
|
||||
foreach ($comments->find_all($limit, $offset) as $comment) {
|
||||
$item = $comment->item();
|
||||
$feed->children[] = new ArrayObject(
|
||||
$feed->comments[] = new ArrayObject(
|
||||
array("pub_date" => date("D, d M Y H:i:s T", $comment->created),
|
||||
"text" => nl2br(html::purify($comment->text)),
|
||||
"thumb_url" => $item->thumb_url(),
|
||||
|
||||
Reference in New Issue
Block a user