[wp-trac] [WordPress Trac] #49871: REST API post link should be permalink for scheduled posts
WordPress Trac
noreply at wordpress.org
Mon Apr 20 12:50:12 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
-------------------------+------------------------------
Comment (by Jules Colle):
Good point. I wasn't aware of that. It looks like applying the patch will
cause scheduled posts to automatically redirected to the permalink, as you
can see here: https://bdwm.be/?p=1654 (Note: this website has the patch
already applied.)
Applying the patch will undo #30910. I'll see if I can create a new patch
that will prevent automatic redirection for scheduled posts.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49871#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list