Make WordPress Core

Opened 6 weeks ago

Last modified 4 weeks ago

#60941 new defect (bug)

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

Reported by: up1512001's profile up1512001 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: needs-testing
Focuses: administration Cc:


  • 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:

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

6 weeks ago

I have attached my patch.

#1 @nikunj8866
6 weeks ago

  • Keywords needs-testing added

#2 @nikunj8866
4 weeks ago

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

Note: See TracTickets for help on using tickets.