Skip to content

Make PostMeta component more robust by adding better error handeling if meta key doesn't exist #205

Description

@fabiankaegy

Currently, you can end up breaking a block if you use the PostMeta component with a metaKey that isn't supported for a given post type. Ideally the component should be self aware whether the current context supports the term and if it doesn't render an inline warning.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions