Support » Requests and Feedback » Why sent always X-Pingback header ?

  • I digged down, that regardless of how i set the general setting of permission for ping-back’s and trackback’s, the X-Pingback header field will be send always.

    After searching the place, i found it in /wp-includes/classes.php.
    Her comes the code snippet:

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

    There is no condition made depending at blog configuration, i would expect a conditional set header field. It should only be set, if pingback and trackback has been allowed for this blog and not always.

    By using WordPress as CMS it’s unwantend to have such header information sended, because pingback and trackbacks are disabled.

    i’m wrong with that thinking ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • … and because of limitation of this forum edit capabilities i have to post additional information:

    The actual WordPress version 2.5 is affected too.

    btw: 1.) owner of entries should ever be able edit their posts and 2.) i should also be able to edit the versions, if i missed one.

    mike503

    (@mike503)

    agreed. this should be configurable.

    probably with the admin option

    admin > discussion >
    “Allow link notifications from other blogs (pingbacks and trackbacks.)”

    bump

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why sent always X-Pingback header ?’ is closed to new replies.