Open tezell-mg opened 3 years ago
@anton-vlasenko @spacedmonkey Are either of you familiar with any quirks of multisite which might make the search
endpoint of the REST API not work? For example, would we need to pass a blogID when making the request?
@igmoweb, @jconti, do you have any thoughts on what could be causing this feature not to work as expected in multisite? Thank you!
For clarity here is the endpoint being requested in the code
Description
When on a multisite network and in the Gutenberg paragraph block editor the link suggestion feature is not working. It works fine on single site.
Console error:
In case the image is too hard to read on the consol error "GET http://sage-life-site-network.lndo.site/wp-json/wp/v2/search?search=55&per_page=20&type=term&_locale=user" "400 Bad Request"a
Step-by-step reproduction instructions
Notice that the suggestion functionality does not work. This is the issue.
Screenshots, screen recording, code snippet
Environment info
WordPress Version: 5.7 All Browsers MacOS 11.1
Pre-checks