No Self Pings in WordPress Core
|Reported by:||chmac||Owned by:|
There's a great plugin called 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.
Change History (12)
comment:1 Viper007Bond — 6 years ago
- Keywords has-patch added; ping self ping no self ping removed
- Severity changed from normal to minor
- Version set to 2.3