WordPress/gutenberg

The category set in Default Post Category is not selected in the display when posting a new post.

Open

#32,651 创建于 2021年6月14日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (3,893 fork)batch import
General InterfaceGood First Issue[Type] Enhancement

仓库指标

Star
 (9,607 star)
PR 合并指标
 (平均合并 12天 18小时) (30 天内合并 509 个 PR)

描述

Description

The category set in Default Post Category is not selected in the display when posting a new post.

Step-by-step reproduction instructions

  1. Go to Writing Settings in Settings
  2. Select any category in Default Post Category
  3. Add New Post

Expected behaviour

The category you checked in Default Post Category is checked when you submit a new post.

Actual behaviour

The category set in Default Post Category is not selected in the display when posting a new post. Once you draft, save, etc., it will be checked.

Screenshots or screen recording (optional)

test

Code snippet (optional)

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: Not installed
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Yes

Device information

  • Device: Desktop
  • Operating system: Mac OS X 11.4
  • Browser: Chrome 91.0.4472.77

贡献者指南