WP External Links breaks WP REST API
-
Hi,
we’ve noticed that the WordPress REST API breaks if WP External Links is active.
The affected endpoint in this case is
wp-json/wp/v2/posts
– it returns an empty result instead of the JSON data. Other endpoints work as expected, e.g. fetching tags, etc.I suppose that there’s somewhere an openend output buffer (
ob_start()
) which hasn’t been closed/flushed when the REST API renders the response.I’ve tested it on threee different sites – each of them shows the identical symptons.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP External Links breaks WP REST API’ is closed to new replies.