[wp-trac] [WordPress Trac] #30910: future post permalink can be revealed when blog article requested by url like ...?p={post_id}
WordPress Trac
noreply at wordpress.org
Fri Jan 9 16:39:57 UTC 2015
#30910: future post permalink can be revealed when blog article requested by url
like ...?p={post_id}
-------------------------------+---------------------------
Reporter: e.mazovetskiy | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31114"]:
{{{
#!CommitTicketReference repository="" revision="31114"
In `get_permalink()`, don't resolve to pretty permalink if post has
'future' status.
We already do this for other non-public statuses, to prevent leaking non-
public
information about unpublished posts.
Props e.mazovetskiy, CalEvans.
Fixes #30910.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30910#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list