[wp-trac] [WordPress Trac] #23882: get_the_permalink() accepts an ID, the_permalink() does not
WordPress Trac
noreply at wordpress.org
Tue Apr 2 01:19:30 UTC 2013
#23882: get_the_permalink() accepts an ID, the_permalink() does not
-----------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by nacin):
get_the_permalink() is actually get_permalink(). I don't think it's
necessary for $leavename — which is designed for creating sample and
generic permalinks, etc — to make its way into the_permalink(). Fine with
$id.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23882#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list