WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#9092 closed defect (bug) (fixed)

No way to not send stupid X-Pingback headers

Reported by: jidanni Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: HTTP API Keywords:
Focuses: Cc:

Description

It is totally ridiculous that there in no way in the world to stop
WordPress from sending a X-Pingback header, short from ripping up the
source code.

You have hardwired it in to the headers as if it was the sun and moon.

function send_headers() {
	@header('X-Pingback: '. get_bloginfo('pingback_url'));

There is no hook, no variable, no nothing provided to stop sending
such stupid headers in the case one does not want to.

See also #7324, #5311.

You can say ho hum it doesn't matter, thinking maybe the
professionality of one's website is only judged by CSS.

But you are wrong.

Change History (2)

comment:1 @jidanni7 years ago

  • Component changed from General to HTTP
  • Owner anonymous deleted

comment:2 @filosofo7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Filter in [10619] now allows you to remove this header, and others.

Note: See TracTickets for help on using tickets.