otherwise to_json would not work properly
This commit is contained in:
parent
8a5e83b619
commit
7d525a8efe
1 changed files with 2 additions and 2 deletions
|
@ -626,10 +626,10 @@ class Post {
|
|||
}
|
||||
}
|
||||
|
||||
$replies = (object) array(
|
||||
$replies = array(
|
||||
'type' => 'Collection',
|
||||
'id' => \add_query_arg( array( 'replies' => '' ), $this->get_id() ),
|
||||
'first' => (object) array(
|
||||
'first' => array(
|
||||
'type' => 'CollectionPage',
|
||||
'partOf' => \add_query_arg( array( 'replies' => '' ), $this->get_id() ),
|
||||
'items' => $items,
|
||||
|
|
Loading…
Reference in a new issue