[wp-trac] [WordPress Trac] #6698: Editing a published post causes excessive pings / closing comments on old posts causes trackbacks

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 5 23:06:34 UTC 2009


#6698: Editing a published post causes excessive pings / closing comments on old
posts causes trackbacks
------------------------------+---------------------------------------------
 Reporter:  lapcat            |        Owner:  Denis-de-Bernardy
     Type:  defect (bug)      |       Status:  reopened         
 Priority:  normal            |    Milestone:  2.8.4            
Component:  Pings/Trackbacks  |      Version:  2.8.1            
 Severity:  normal            |   Resolution:                   
 Keywords:  needs-patch       |  
------------------------------+---------------------------------------------
Changes (by azaozz):

  * keywords:  has-patch needs-testing => needs-patch
  * priority:  high => normal
  * severity:  major => normal


Comment:

 Could probably do something like:
 {{{
 $old = normalize_whitespace( $old_post['post_content'] );
 $new = normalize_whitespace( $new_post['post_content'] );

 if ( $old != $new || $old_post['post_title'] != $new_post['post_title'] ||
 $old_post['post_excerpt'] != $new_post['post_excerpt'] )
     do_pings...
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/6698#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list