WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: JSON API] Category & Tagging Bug Report (3 posts)

  1. zibitt
    Member
    Posted 4 years ago #

    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/

  2. dphiffer
    Member
    Posted 4 years ago #

    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.

  3. dphiffer
    Member
    Posted 4 years ago #

    Update: 1.0 released! It should fix this issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags