WordPress.org

Ready to get started?Download WordPress

Forums

Why sent always X-Pingback header ? (4 posts)

  1. codestyling
    Member
    Posted 6 years ago #

    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 ?

  2. codestyling
    Member
    Posted 6 years ago #

    ... 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.

  3. mike503
    Member
    Posted 5 years ago #

    agreed. this should be configurable.

    probably with the admin option

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

  4. a666
    Member
    Posted 5 years ago #

    bump

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags