WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Comment_count Coming Back as 0 with any Include (1 post)

  1. BerryReview
    Member
    Posted 1 year ago #

    I am trying to limit the JSON request to just a few items and the second I add a simple "include" it will make the "comment_count" return a 0 every time. As an example my query is:
    http://www.domain.com/api/get_recent_posts/?callback=jQuery171014580679731443524_1358038342342&page=1&include=id%2Curl%2Ctitle%2Ccontent%2Cdate%2Ccomment_count%2Cattachments&_=1358038342462

    The comment_count always returns 0. It did not use to do this... Any suggestions?

    http://wordpress.org/extend/plugins/json-api/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic