[wp-trac] [WordPress Trac] #49871: REST API post link should be permalink for scheduled posts

WordPress Trac noreply at wordpress.org
Sun Apr 19 23:06:41 UTC 2020


#49871: REST API post link should be permalink for scheduled posts
-------------------------+------------------------------
 Reporter:  Jules Colle  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Permalinks   |     Version:  4.7
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  rest-api
-------------------------+------------------------------
Changes (by Jules Colle):

 * keywords:  2nd-opinion needs-patch => has-patch


Comment:

 With patch 49871.diff applied, all links to scheduled posts are displayed
 as permalinks instead of guids. Tested in the WP dashboard, and also in
 the REST API. Works as expected.

 **Important**: After this gets added to core, we need to refactor the
 changes made in this PR: https://github.com/WordPress/gutenberg/pull/21410

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


More information about the wp-trac mailing list