Make WordPress Core

Opened 4 months ago

Closed 2 weeks ago

Last modified 2 weeks ago

#60941 closed defect (bug) (duplicate)

When post and page have same title then post redirect to page

Reported by: up1512001's profile up1512001 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: needs-testing has-patch
Focuses: Cc:

Description

  • when you create a post and page with the same title text then both get the same slug so instead of changing one of the slugs it overrides the old post/page.
  • so I suggest when someone creates a post and page with the same title then one of them should get appended with a number so that both of them will have visibility.

Example Video: https://github.com/FireWork-Production-Private-Ltd/WordPress-issues/issues/1#issue-2228684291

Attachments (1)

60941.diff (1.8 KB) - added by nikunj8866 4 months ago.
I have attached my patch.

Download all attachments as: .zip

Change History (6)

@nikunj8866
4 months ago

I have attached my patch.

#1 @nikunj8866
4 months ago

  • Keywords needs-testing added

#2 @nikunj8866
4 months ago

@up1512001 I have added my patch. Could you please test it?

#3 @nikunj8866
2 weeks ago

  • Component changed from General to Posts, Post Types
  • Keywords has-patch added
  • Resolution set to invalid
  • Status changed from new to closed

@up1512001 Any updates on this?

#4 @nikunj8866
2 weeks ago

  • Version set to 6.6

#5 @sabernhardt
2 weeks ago

  • Component changed from Posts, Post Types to Permalinks
  • Focuses administration removed
  • Milestone Awaiting Review deleted
  • Resolution changed from invalid to duplicate
  • Version 6.6 deleted

This is not invalid, but the issue already had ticket #13459.

Note: See TracTickets for help on using tickets.