WordPress/gutenberg

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

開放

#32,651 建立於 2021年6月14日

 (3 則留言) (0 個反應) (0 位負責人)JavaScript (3,893 個分叉)batch import
General InterfaceGood First Issue[Status] In Progress[Type] Enhancement

倉庫指標

星標
 (9,607 顆星)
PR 合併指標
 (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

貢獻者指南