Skip to content

Suggestion for internal links not working on Gutenberg paragraph block (Multisite) #34125

@tezell-mg

Description

@tezell-mg

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.

image

Console error:
image

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

  1. On a site within a multisite network create and publish a page (Page A)
  2. Create a second page and on that page (using the Gutenberg paragraph block) add text to that page.
  3. Select some of the text and click the Link button.
  4. Begin to type the title of the page created in Step 1

Notice that the suggestion functionality does not work. This is the issue.

Screenshots, screen recording, code snippet

multisite-link-suggestion-img-1
multisite-link-suggestion-img-2

Environment info

WordPress Version: 5.7
All Browsers
MacOS 11.1

Pre-checks

  • I have searched the existing issues.
  • I have tested with all plugins deactivated except Gutenberg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)[Feature] MultisiteAnything related to the specific experience of using a multisite[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions