[wp-trac] [WordPress Trac] #54571: Creating post via REST API with custom slug and "publish" status appends "-2" to slug

WordPress Trac noreply at wordpress.org
Sun Dec 5 12:46:32 UTC 2021


#54571: Creating post via REST API with custom slug and "publish" status appends
"-2" to slug
-------------------------------+------------------------------
 Reporter:  markus.magnuson    |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  5.8.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------
Changes (by dlh):

 * keywords:   => reporter-feedback


Comment:

 Hi @markusmagnuson, and thanks for the ticket!

 I've been unable to replicate this behavior so far on a new installation.
 The slug of the published post is `001` as expected. Are you able to test
 on a site with plugins deactivated and a default theme?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54571#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list