[wp-trac] [WordPress Trac] #23882: get_permalink() accepts an ID, the_permalink() does not
WordPress Trac
noreply at wordpress.org
Sat Oct 10 05:45:30 UTC 2015
#23882: get_permalink() accepts an ID, the_permalink() does not
-------------------------------------------+------------------------
Reporter: johnjamesjacoby | Owner: chriscct7
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Permalinks | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch commit dev-feedback | Focuses:
-------------------------------------------+------------------------
Comment (by DrewAPicture):
In [changeset:"35002"]:
{{{
#!CommitTicketReference repository="" revision="35002"
Template: Pass the `$post` parameter to the `the_permalink` filter.
Props chriscct7.
Fixes #34234. See #23882.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23882#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list