[wp-trac] [WordPress Trac] #14796: start_post_rel_link() makes 3 DB queries; too much for what it offers
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 22 08:55:59 UTC 2010
#14796: start_post_rel_link() makes 3 DB queries; too much for what it offers
--------------------------+-------------------------------------------------
Reporter: demetris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.0.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by demetris):
Replying to [comment:5 demetris]:
>
> The third extra query is like this:
>
> {{{SELECT `post_parent` FROM wp_posts WHERE ID = 534 LIMIT 1}}}
>
> Which seems to run a second time when
{{{adjacent_posts_rel_link_wp_head}}} is on.
>
I confirmed that this third query appears with the default theme too.
(Just wanted to make certain it was not something wrong with my own theme,
and that I did not bother people with non-existent issues.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14796#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list