[wp-trac] [WordPress Trac] #23882: get_permalink() accepts an ID, the_permalink() does not

WordPress Trac noreply at wordpress.org
Fri Oct 9 04:33:18 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  |     Focuses:
------------------------------+------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"34982"]:
 {{{
 #!CommitTicketReference repository="" revision="34982"
 Add `$id` parameter to `the_permalink()`, for consistency with
 `get_permalink()`.

 Props johnjamesjacoby, chriscct7.
 Fixes #23882.
 }}}

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


More information about the wp-trac mailing list