Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#46267 new enhancement

Add generated_slug to REST API autosaves endpoint

Reported by: earnjam's profile earnjam Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: REST API Keywords:
Focuses: rest-api Cc:


#45017 led to adding generated_slug and permalink_template to the posts controller.

In order to facilitate more timely and accurate editing of permalinks in the new block editor, it would also be helpful to know about any unique slug conflicts by returning the generated_slug value on the autosaves endpoint as well. Otherwise we have to wait until a manual save or publish in order to check the true generated_slug value.

See for work on this and this Slack comment for more details.

Change History (2)

This ticket was mentioned in Slack in #core-restapi by earnjam. View the logs.

5 years ago

#2 @TimothyBlynJacobs
4 years ago

I see the Gutenberg PR for this has been merged. Does this still need Core changes to the REST API?

Note: See TracTickets for help on using tickets.