WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#10094 closed enhancement (wontfix)

Move pingback <link> to wp_head?

Reported by: Viper007Bond Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.8
Component: Template Keywords:
Focuses: Cc:

Description

Looks like we have everything but the pingback tag being automatically outputted. Let's make it even easier on theme authors.

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

One concern: will blogs get double pinged or encounter any other issues if there are two pingback <link>s?

Change History (4)

comment:1 Denis-de-Bernardy5 years ago

  • Milestone changed from Future Release to 2.9
  • Severity changed from normal to minor

comment:2 Denis-de-Bernardy5 years ago

  • Keywords close added

suggesting to close this one, due to backwards compat considerations.

comment:3 ryan4 years ago

  • Milestone changed from 2.9 to Future Release

comment:4 sivel4 years ago

  • Keywords close removed
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

According to the pingback spec:

Pages MUST NOT include more than one such element, and MUST NOT include such a string matching the pattern described below unless it is intended to be the link element.

Since adding this would potentially cause a number of problems we should probably not do this.

In addition the spec says that if you send an X-Pingback http header then it is unnecessary to also include the <link> element. The X-Pingback header will supersede the <link> element in the event of a discrepancy anyway. So I don't think we lose anything by not adding this.

Closing as wontfix.

Note: See TracTickets for help on using tickets.