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

WordPress Trac noreply at wordpress.org
Mon Feb 2 12:32:12 UTC 2026


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

 * keywords:  has-patch dev-feedback needs-testing => has-patch dev-feedback
     needs-refresh


Comment:

 I attempted to apply the latest patch (49871-2.diff) against current trunk
 (7.0-alpha).

 Patch results:
 - src/wp-includes/canonical.php → hunk failed (.rej created)
 - src/wp-includes/link-template.php → hunk failed (.rej created)

 The patch does not apply cleanly, so testing is not currently possible.

 Since the patch cannot be applied, keeping `needs-testing` would be
 misleading. The patch should be refreshed first to match current trunk
 before further testing.

 Removing `needs-testing` and marking `needs-refresh`. Testing can resume
 once an updated patch is available.

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


More information about the wp-trac mailing list