Make WordPress Core

Opened 13 months ago

Last modified 12 months ago

#57737 new defect (bug)

Start composing post with same title as existing post, click Preview, post_title is set to point to existing post

Reported by: jikamens's profile jikamens Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.1.1
Component: Posts, Post Types Keywords: has-testing-info needs-testing
Focuses: Cc:

Description

  1. Start composing a new post.
  2. Set the title of the post to be the same as the title of another recently published post.
  3. Click Preview and then Preview in new tab.
  4. Go look at the post_title column for the post in the wp_posts table in the database, and observe that it's pointing at the existing post whose title you used, not the new post.

If you then publish the post, its link on your home page will be to the old post, not the new one.

Change History (3)

#1 @jikamens
13 months ago

Hmm, I actually think the bug here is that there shouldn't be a link in the post_title field at all? I think it incorrectly inserts a link into the post_title field if you preview before a draft is saved?

This ticket was mentioned in Slack in #core-test by ironprogrammer. View the logs.


12 months ago

#3 @ironprogrammer
12 months ago

  • Keywords has-testing-info needs-testing added

Hi, @jikamens, and thank you for the report!

During test triage today, this wasn't reproducible on trunk. If it can be confirmed reproducible on 6.1.1, then there may have been a change that fixed it more recently. The updated keywords should draw some attention for someone to help repro.

Note: See TracTickets for help on using tickets.