Support » Plugins and Hacks » [Plugin: JSON API] Category & Tagging Bug Report

  • Hello,
    Thank you very much for releasing this plugin. It is extremely useful! There is a bug that we found that I would like to report.
    Wordpress supports the ability to specify multiple categories OR tags or categories AND tags in the query string. This filters the posts to an intersections of the two. JSON API is broken for this case.
    Example is below. The month specified results in no posts returned (there aren’t any for that month).

    http://BOB.com/?m=201003&cat=4
    no posts
    http://BOB.com/?m=201003&cat=4&json=1
    all posts in cat 4

    So in other words, adding json=1 changes the functionality and returns all posts in the category, instead of posts from March only.

    If you could please look into this, it would be greatly appreciated. If you could provide a fix, it would be amazing. But any input from you would be great.
    Thank you so much for your time, and please keep up the excellent work!

    Misha Rabinovich

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unfortunately this is a structural problem with how I implemented the query logic. I’ll have to rework things a bit to fix it. This may be the basis for a 1.0 code redesign. I probably won’t be able to get to this in the next month, but it is on the horizon.

    Update: 1.0 released! It should fix this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: JSON API] Category & Tagging Bug Report’ is closed to new replies.