Version Description
Download this release
Release Info
| Developer | mdawaffe |
| Plugin | |
| Version | 0.2 |
| Comparing to | |
| See all releases | |
Code changes from version 0.1 to 0.2
- no-self-pings.php +2 -2
- readme.txt +19 -0
no-self-pings.php
CHANGED
|
@@ -3,14 +3,14 @@
|
|
| 3 |
Plugin Name: No Self Pings
|
| 4 |
Plugin URI: http://blogwaffe.com/2006/10/04/421/
|
| 5 |
Description: Keeps WordPress from sending pings to your own site.
|
| 6 |
-
Version: 0.
|
| 7 |
Author: Michael D. Adams
|
| 8 |
Author URI: http://blogwaffe.com/
|
| 9 |
|
| 10 |
License: GPL2 - http://www.gnu.org/licenses/gpl.txt
|
| 11 |
*/
|
| 12 |
|
| 13 |
-
function no_self_ping( &$links
|
| 14 |
$home = get_option( 'home' );
|
| 15 |
foreach ( $links as $l => $link )
|
| 16 |
if ( 0 === strpos( $link, $home ) )
|
| 3 |
Plugin Name: No Self Pings
|
| 4 |
Plugin URI: http://blogwaffe.com/2006/10/04/421/
|
| 5 |
Description: Keeps WordPress from sending pings to your own site.
|
| 6 |
+
Version: 0.2
|
| 7 |
Author: Michael D. Adams
|
| 8 |
Author URI: http://blogwaffe.com/
|
| 9 |
|
| 10 |
License: GPL2 - http://www.gnu.org/licenses/gpl.txt
|
| 11 |
*/
|
| 12 |
|
| 13 |
+
function no_self_ping( &$links ) {
|
| 14 |
$home = get_option( 'home' );
|
| 15 |
foreach ( $links as $l => $link )
|
| 16 |
if ( 0 === strpos( $link, $home ) )
|
readme.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=== No Self Pings ===
|
| 2 |
+
Contributors: mdawaffe
|
| 3 |
+
Tags: pingback
|
| 4 |
+
Tested up to: 4.6
|
| 5 |
+
Stable tag: 0.2
|
| 6 |
+
|
| 7 |
+
Keeps WordPress from sending pings to your own site.
|
| 8 |
+
|
| 9 |
+
== Description ==
|
| 10 |
+
|
| 11 |
+
Some people really like that WordPress sends pings from your own site to your own site when you write posts; it gives them a trail of related posts.
|
| 12 |
+
|
| 13 |
+
Some people do not like this behavior; it clutters up their comments.
|
| 14 |
+
|
| 15 |
+
This plugin disables intra-blog pinging.
|
| 16 |
+
|
| 17 |
+
== Installation ==
|
| 18 |
+
|
| 19 |
+
Activate the plugin. That's it. No configuration.
|
