[wp-trac] [WordPress Trac] #18822: get_permalink() produces an add. DB request without $post->filter
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 30 13:28:16 UTC 2011
#18822: get_permalink() produces an add. DB request without $post->filter
--------------------------+------------------------------
Reporter: F J Kaiser | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by scribu):
[attachment:18822.alt.2.diff] uses a foreach loop, which is faster. No
idea why a for loop was used there.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18822#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list