Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#10094 closed enhancement (wontfix)

Move pingback <link> to wp_head?

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


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)

#1 @Denis-de-Bernardy
15 years ago

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

#2 @Denis-de-Bernardy
15 years ago

  • Keywords close added

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

#3 @ryan
14 years ago

  • Milestone changed from 2.9 to Future Release

#4 @sivel
14 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.