[wp-trac] [WordPress Trac] #52118: `wp_unique_post_slug()` doesn't check for `wp-json`

WordPress Trac noreply at wordpress.org
Sat Dec 19 08:14:11 UTC 2020


#52118: `wp_unique_post_slug()` doesn't check for `wp-json`
--------------------------+-----------------------------
 Reporter:  nonverbla     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  5.6
 Severity:  normal        |   Keywords:
  Focuses:  rest-api      |
--------------------------+-----------------------------
 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?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52118>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list