Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#52118 closed defect (bug) (duplicate)

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

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

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
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

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.