[Plugin: JSON API] Other plugins output before json content
-
Hi,
We are developing the Just Map It! plugin for WordPress which uses this plugin to get data about posts and tags remotely.
A few users reported that the service was not working as expected and that the data exposed by the json services was not valid.
After some investigations we found that some plugins are not very carefull of how they output information and they are always printing javascript or html elements without checks.
These elements are also printed before the json markup returned by this plugin.
Would it be possible to clean all information printed on the page before outputting the json content and thus get rid of these issues ?
(using ob_clean for exemple ?)Thanks.
- The topic ‘[Plugin: JSON API] Other plugins output before json content’ is closed to new replies.