Skip to content

[Navigation] Category/Custom taxonomy links are not searchable in the Link inserter. #49107

@costdev

Description

@costdev

Description

Originally reported in this Trac ticket.

#48740 made the directly inserted block a Page Link block.

However, when searching for categories and other taxonomies such as product_cat, these do not appear in the results. This means converting to a custom link, then searching.

This issue follows on from a discussion about this on Slack.

Quoting @jasmussen:

Rather than revert the default-to-pages, I’d just allow categories to show up when you’re searching.

Step-by-step reproduction instructions

  1. Insert a Navigation block.
  2. Click +.
  3. Search for a category name, like uncategorized.
  4. 🐞 Note that no category appears, and it's suggested that you create a draft page.

Screenshots, screen recording, code snippet

From trac:
image

Environment info

  • WordPress: trunk / 6.2 RC2
  • Gutenberg: With or without Gutenberg trunk.
  • Browser: Chrome
  • Theme: Twenty-Twenty Three

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] NavigationAffects the Navigation Block[Type] RegressionRelated to a regression in the latest release

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions