[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 Jul 15 14:30:54 UTC 2011
#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: Future Release
Component: Performance | Version: 3.0.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------------
Changes (by Elpie):
* cc: Elpie (added)
Comment:
Please also see https://core.trac.wordpress.org/ticket/18128
Everything except link rel='prev' and link rel='next', that are output by
adjacent_posts_rel_link_wp_head, are unsupported by browsers and assistive
technologies. In the HTML5 spec they are explicitly not allowed. In XHTML
and older versions of HTML they do nothing so the number of queries can be
reduced by removing the superfluous link types.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14796#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list