WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#46267 new enhancement

Add generated_slug to REST API autosaves endpoint

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

Description

#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 https://github.com/WordPress/gutenberg/pull/12009 for work on this and this Slack comment for more details.

Change History (1)

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


10 months ago

Note: See TracTickets for help on using tickets.