Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10094 closed enhancement (wontfix)

Move pingback <link> to wp_head?

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

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)

#1 @Denis-de-Bernardy
17 years ago

  • Milestone Future Release2.9
  • Severity normalminor

#2 @Denis-de-Bernardy
17 years ago

  • Keywords close added

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

#3 @ryan
17 years ago

  • Milestone 2.9Future Release

#4 @sivel
17 years ago

  • Keywords close removed
  • Milestone Future Release
  • Resolutionwontfix
  • Status newclosed

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.