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

WordPress Trac noreply at wordpress.org
Wed Dec 18 17:07:49 UTC 2013


#23882: get_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        |
-----------------------------+------------------------------
Description changed by johnjamesjacoby:

Old description:

> I always found it odd that the_permalink() doesn't accept a post ID
> passed into it, when get_the_permalink() does, and the_permalink() just
> calls get_the_permalink().
>
> After scouring trac for a duplicate (and not finding one) I've attached a
> patch to improve this.
>
> Related: #1271

New description:

 I always found it odd that the_permalink() doesn't accept a post ID passed
 into it, when get_permalink() does, and the_permalink() just calls
 get_permalink().

 After scouring trac for a duplicate (and not finding one) I've attached a
 patch to improve this.

 Related: #1271

--

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23882#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list