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

WordPress Trac noreply at wordpress.org
Wed Jun 25 05:13:08 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 commit  |     Focuses:  performance
-------------------------------------------+--------------------------

Comment (by rmccue):

 Replying to [comment:14 SergeyBiryukov]:
 > A quick test with 100 000 iterations shows a 15% performance increase
 (21,281 seconds with [attachment:28425-1.diff] vs. 25,135 seconds
 unpatched).

 I am +1 in that case. :)

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


More information about the wp-trac mailing list