Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#52118 closed defect (bug) (duplicate)

`wp_unique_post_slug()` doesn't check for `wp-json`

Reported by: nonverbla Owned by:
Priority: normal Milestone:
Component: Permalinks Version: 5.6
Severity: normal Keywords:
Cc: Focuses: rest-api

Description

Hi there,

I just noticed, that wp_unique_post_slug doesn't check for clashes with wp-json. Is this intended or maybe a little bug?

Change History (1)

#1 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Hi there, welcome back to WordPress Trac!

Thanks for the report, we're already tracking this issue in #23478.

Note: See TracTickets for help on using tickets.