[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 00:53:37 UTC 2015


#30910: future post permalink can be revealed when blog article requested by url
like ...?p={post_id}
----------------------------------------+--------------------
 Reporter:  e.mazovetskiy               |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  4.2
Component:  Posts, Post Types           |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+--------------------

Comment (by CalEvans):

 Replying to [comment:2 SergeyBiryukov]:

 I do not believe - but I would be happy to be corrected - that the patch
 supplied will solve the problem.

 I was able to recreate the problem, but not yet in a unit test. I can
 recreate it with wget. I believe the problem lies not in
 get_post_permalink() but in get_permalink().

 Again, I could be wrong. I'm posting to get an opinion before I attempt to
 solve the wrong problem. :)

 Cheers1
 =C=

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


More information about the wp-trac mailing list