[wp-trac] [WordPress Trac] #20226: Don't advertise pingback URL on resources that don't support pingbacks
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 13 11:34:39 UTC 2012
#20226: Don't advertise pingback URL on resources that don't support pingbacks
--------------------------+-----------------------------
Reporter: solarissmoke | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.3
Severity: minor | Keywords:
--------------------------+-----------------------------
Currently, !WordPress indiscriminately adds an `X-Pingback` header to all
responses. Similarly all the bundled themes add `link rel="pingback"` to
all pages.
The purpose of `X-Pingback` and `link rel="pingback"` is to advertise that
the current resource supports pingbacks and provide a pingback URL. They
should only be inserted when the resource actually accepts pingbacks -
i.e., only when `is_single()` is true, and maybe even only when pings are
open on that post.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20226>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list