[wp-trac] [WordPress Trac] #28425: get_permalink passes only post ID to called functions instead of post object

WordPress Trac noreply at wordpress.org
Tue Jul 8 15:47:22 UTC 2014


#28425: get_permalink passes only post ID to called functions instead of post
object
-------------------------------------------+--------------------------
 Reporter:  arnee                          |       Owner:  johnbillion
     Type:  enhancement                    |      Status:  closed
 Priority:  normal                         |   Milestone:  4.0
Component:  Posts, Post Types              |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch dev-feedback commit  |     Focuses:  performance
-------------------------------------------+--------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29024"]:
 {{{
 #!CommitTicketReference repository="" revision="29024"
 Pass the post object rather than the post ID between the post permalink
 functions. Fixes #28425. Props arnee
 }}}

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


More information about the wp-trac mailing list