WordPress.org

Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#2361 closed defect (bug) (wontfix)

TB + PB to the same blog causes only the PB to show

Reported by: makemead Owned by: makemead
Milestone: Priority: high
Severity: normal Version: 2.0
Component: Optimization Keywords: Trackback, Pingback
Focuses: Cc:
PR Number:

Description

Since the trackback issues with 2.0 seem to have been repaired in 2197 it brings up a new problem with WP flood control. It should be assured that if both a trackback and a pingback are sent to the same blog that the trackback should be accepted before the pingback in case one gets rejected.

Perhaps processing trackbacks first would remedy this.

Change History (7)

#1 @matt
14 years ago

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

Pingback is better:

  • More contextual
  • Handles international encoding better
  • More spam-resistant
  • Better link text

This is too obscure to be a preference, so just going to close.

#2 @makemead
14 years ago

  • Cc makemead added
  • Resolution wontfix deleted
  • Status changed from closed to reopened

I'm going to go ahead and disagree with you completely on this. You say "More contextual", I say "More nonsensical". It just doesn't work the way you think it does in practice, maybe in theory but not in actual use of the software. With a trackback you get a purposeful summary (the first few words of the post) with a pingback you get partial sentences and a few words that just happened to surround the link to your blog.

It may "handle international encoding better" but why not make trackbacks do the same?

I can understand how they are more "spam resistant", I'll give you that one (one out of four isn't so hot though). With new spam suppression software available I don't see this as much of a problem.

"Better link text"? No. Adding the post title to the link doesn't look as nice as trackbacks Blog name followed by an unlinked post title. The trackback way if much preferred.

It seems that some people are using my fix of switching the code in execute-pings.php so that trackbacks go out first.

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);
}
?>

Thanks for listening. I'm just politely disagreeing with you and letting you know that I'm not the only one that feels this way about it.

#3 @makemead
14 years ago

  • Owner changed from anonymous to makemead
  • Status changed from reopened to new

#4 @makemead
14 years ago

Sorry, I left out the opening <?php tag in the above code.

#5 @davidhouse
14 years ago

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

If you want to convince everyone that trackbacks are better than pingbacks, this is not the place to do it (wp-hackers is).

If you wish to start another bug up so that this situation could be handled by a plugin and not a core hack, go ahead, but do it in a seperate ticket.

Thankyou :)

#6 @makemead
14 years ago

Sorry, I didn't open it to get a fix only to add my reasoning. wp-hackers sent me here. LOL I feel like a tennis ball.

#7 @(none)
13 years ago

  • Milestone 2.0.1 deleted

Milestone 2.0.1 deleted

Note: See TracTickets for help on using tickets.