Skip to content

Uncategorized is added by default when adding a post #3269

@Pizza1

Description

@Pizza1

Description

image

image

When adding a post, it adds the 'Uncategorized' category by default. Is there a way to fix this?

Steps to reproduce

  1. Create a create post mutation as in the picture and use it (only two categories are defined)
  2. "Uncategorized" is added

Additional context

No response

WPGraphQL Version

1.29.3

WordPress Version

6.7.1

PHP Version

7.4.33

Additional environment details

No response

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

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

Labels

type: bugIssue that causes incorrect or unexpected behavior

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions