[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 Jun 24 16:47:06 UTC 2014


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

Comment (by arnee):

 I agree that WP_Query should be used, there are just cases where it is not
 possible or using it results in hacking and workarounds.

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


More information about the wp-trac mailing list