WordPress.org

Ready to get started?Download WordPress

Forums

For Those Still Having Trackback Issues (3 posts)

  1. houseofboyd
    Member
    Posted 8 years ago #

    Here's what I did and it worked. Maybe it will work for you as well!

    Edit your execute-pings.php file (under wp-admin folder). Remember to back it up just in case. Change it to this:

    <?php

    require_once('../wp-config.php');

    // Do Enclosures
    while ($enclosure = $wpdb->get_row("SELECT * FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_encloseme' LIMIT 1")) {
    $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id = {$enclosure->ID} AND meta_key = '_encloseme';");
    do_enclose($enclosure->post_content, $enclosure->ID);
    }

    // Do Trackbacks
    $trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE CHAR_LENGTH(TRIM(to_ping)) > 7 AND post_status != 'draft'");
    if ( is_array($trackbacks) ) {
    foreach ( $trackbacks as $trackback ) {
    do_trackbacks($trackback->ID);
    }
    }

    // Do pingbacks
    while ($ping = $wpdb->get_row("SELECT * FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_pingme' LIMIT 1")) {
    $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id = {$ping->ID} AND meta_key = '_pingme';");
    pingback($ping->post_content, $ping->ID);
    }

    ?>

    Should do the trick for you. Oh yeah, I'm running 2.0.2.

    John
    http://www.houseofboyd.com

  2. RichardHall
    Member
    Posted 8 years ago #

    No luck here, I'm afraid. :(

  3. dsawchuk
    Member
    Posted 8 years ago #

    Unfortunately none for me either.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags