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

WordPress Trac noreply at wordpress.org
Fri Oct 9 16:54:02 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):

 #34234 was opened to discuss renaming `$id` in `the_permalink()`,
 `get_the_permalink()`, and `get_permalink()` to `$post`. The ticket will
 also address @chriscct7's suggested [attachment:23882.3.patch] for adding
 the parameter to the filter.

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


More information about the wp-trac mailing list