[wp-trac] [WordPress Trac] #46267: Add generated_slug to REST API autosaves endpoint

WordPress Trac noreply at wordpress.org
Sun Feb 17 15:24:09 UTC 2019


#46267: Add generated_slug to REST API autosaves endpoint
-------------------------+-----------------------------
 Reporter:  earnjam      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  REST API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:  rest-api     |
-------------------------+-----------------------------
 #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
 [https://wordpress.slack.com/archives/C02RQC26G/p1550404177056100 this
 Slack comment] for more details.

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


More information about the wp-trac mailing list