Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#56163 closed defect (bug) (fixed)

Default template for new posts should be "Single," not "404"

Reported by: zoonini's profile zoonini Owned by:
Milestone: 6.0.1 Priority: normal
Severity: normal Version: 6.0
Component: Editor Keywords:
Focuses: template Cc:

Description

When adding a new post, the default template used is the "404 not found" template.

This is unintuitive, confusing, and not just logical.

Steps to Replicate

  1. Deactivate all plugins
  2. Go to Posts > Add New
  3. Look at the Templates settings area and note that the template is "404"

Expected Behaviour

The expected behaviour would be for the default template to be Single, not 404.

In fact, with the Gutenberg plugin active (I tested with both 13.5.2 and 13.6.0), the default template used for posts is Single, as expected, but activating the plugin should not be needed to achieve the correct behaviour.

Reports

See multiple users reports here: https://wordpress.org/support/topic/new-post-template-is-404/

Attachments (1)

Add_New_Post.jpg (35.6 KB) - added by zoonini 2 years ago.
Add New Post

Download all attachments as: .zip

Change History (5)

@zoonini
2 years ago

Add New Post

#1 @SergeyBiryukov
2 years ago

Hi there, thanks for the ticket!

I think this is not specific to the theme and should be resolved in [53594] / #56058 for WordPress 6.0.1.

See #GB40799 for the upstream PR in the Gutenberg repository.

#2 @SergeyBiryukov
2 years ago

  • Component changed from General to Editor

#3 @zoonini
2 years ago

@SergeyBiryukov Excellent, thank you!

#4 @SergeyBiryukov
2 years ago

  • Milestone changed from Awaiting Review to 6.0.1
  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Twenty Twenty-Two: Default template for new posts should be "Single," not "404" to Default template for new posts should be "Single," not "404"

Closing as fixed in [53594] / #56058. The WordPress 6.0.1 release is planned for July 12.

Note: See TracTickets for help on using tickets.