[wp-trac] Re: [WordPress Trac] #2361: TB + PB to the same blog causes only the PB to show

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 12 03:11:15 GMT 2006


#2361: TB + PB to the same blog causes only the PB to show
--------------------------+-------------------------------------------------
       Id:  2361          |      Status:  reopened                
Component:  Optimization  |    Modified:  Sun Feb 12 03:11:15 2006
 Severity:  normal        |   Milestone:  2.0.1                   
 Priority:  high          |     Version:  2.0                     
    Owner:  anonymous     |    Reporter:  makemead                
--------------------------+-------------------------------------------------
Changes (by makemead):

  * resolution:  wontfix =>
  * status:  closed => reopened
  * cc:  => makemead

Comment:

 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2361>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list