Skip to content

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

@grappler

Description

@grappler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Term DescriptionAffects the Term Description Block - used for displaying the description of a tag, catergory or othe[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