[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
Sat Apr 4 01:26:12 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):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32002"]:
 {{{
 #!CommitTicketReference repository="" revision="32002"
 After [31114] and [31323], 'View Post' generated in
 `get_sample_permalink_html()` should go to pretty permalink.

 `get_permalink()` will return a non-pretty permalink for future posts,
 which
 breaks some user workflows that expect View Post to lead to a page with
 the
 pretty permalink.

 Fixes #30910.
 }}}

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


More information about the wp-trac mailing list