[wp-trac] [WordPress Trac] #5224: No Self Pings in WordPress Core

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 18 03:02:16 GMT 2007


#5224: No Self Pings in WordPress Core
---------------------+------------------------------------------------------
 Reporter:  chmac    |       Owner:  anonymous                    
     Type:  defect   |      Status:  new                          
 Priority:  normal   |   Milestone:  2.4                          
Component:  General  |     Version:                               
 Severity:  normal   |    Keywords:  ping, self ping, no self ping
---------------------+------------------------------------------------------
 There's a great plugin called [http://wordpress.org/extend/plugins/no-
 self-ping/ No Self Ping] which stops WordPress pinging itself. It's less
 than a dozen lines of code, and it seems like a really obvious feature
 (almost a bug in WordPress). I've attached a patch to add it to core.

 There may be a smarter way to figure out if the post is submitting back to
 ourself, but I figured this would cover most cases. It might be possible
 to add a unique string to the ping request so we can detect it and ignore
 it if it's from our own site, but this seemed simpler.

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


More information about the wp-trac mailing list