Skip to content
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

Term Description block should only be available in the FSE template editor. #38552

Open
grappler opened this issue Feb 6, 2022 · 1 comment · Fixed by #51053
Open

Term Description block should only be available in the FSE template editor. #38552

grappler opened this issue Feb 6, 2022 · 1 comment · Fixed by #51053
Labels
[Block] Term Description Affects the Term Description Block - used for displaying the description of a tag, catergory or othe [Type] Bug An existing feature does not function as intended

Comments

@grappler
Copy link
Member

grappler commented Feb 6, 2022

Description

Currently, the Term Description Block is available in the block editor for posts and pages. The block can only be used within templates where the following is true is_category() || is_tag() || is_tax()

Introduced in #29613

This is related to the general issue that some post template blocks are available in places where they cannot be used. #38455

Step-by-step reproduction instructions

  1. Edit a post
  2. Find the term description block

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 5.9

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

@annezazu annezazu added the [Type] Bug An existing feature does not function as intended label Feb 22, 2022
@skorasaurus skorasaurus added the [Block] Term Description Affects the Term Description Block - used for displaying the description of a tag, catergory or othe label Mar 21, 2023
@carolinan carolinan self-assigned this May 29, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label May 29, 2023
@SiobhyB
Copy link
Contributor

SiobhyB commented Oct 27, 2023

It was necessary to revert the fix for this issue in #55669, as the fix prevented the Term Description block from being added without the Gutenberg plugin enabled.

@SiobhyB SiobhyB reopened this Oct 27, 2023
@carolinan carolinan removed their assignment Nov 20, 2023
@skorasaurus skorasaurus removed the [Status] In Progress Tracking issues with work in progress label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Term Description Affects the Term Description Block - used for displaying the description of a tag, catergory or othe [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants