-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Navigation] Category/Custom taxonomy links are not searchable in the Link inserter. #49107
Comments
cc @Mamaduka @ntsekouras @ndiego This bug was reported today during RC. If fixable in time, it can be included in 6.2 RC3. I put it into the 6.2 Project Board. |
There is no real quick fix solution here other than not defaulting to a Page link (which was recently added) and going back to a Custom Link. I would recommend we go with that approach. The Page link variation of the Navigation Link block is set up specifically to return search results that are Pages. In a future release we could explore improving the logic in If everyone is ok with it I would vote for rolling back the PR that introduced using Page as the default. |
I would also recommend that we revert the defaulting to page and go back to custom link. I agree with the intent behind the change but the change itself is not sufficient, because the way the block works limits searching to the type of the current navigation link variation - and that was a feature! Changing how all that works is likely convoluted so reverting the change to default to page should be the best step for now. |
Created a revert here: #49126 |
Thank everyone for quickly assessing and resolving this issue for WP 6.2 RC3! |
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:
Step-by-step reproduction instructions
+
.uncategorized
.Screenshots, screen recording, code snippet
From trac:
Environment info
trunk
.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
The text was updated successfully, but these errors were encountered: