WordPress的PingBack
2016-04-28 15:22
295 查看
在wordpress上写些文字,然后相互链接,就跑出来一些所谓的“评论”,但内容为空。
回到正常浏览状态,发现有pingback:
相关文章:No Self Ping WordPress plugin: Stop Pinging Posts From Own Domain
插件下载:No Self Pings
插件的安装不必细述。
附 这个插件的代码如下:
回到正常浏览状态,发现有pingback:
相关文章:No Self Ping WordPress plugin: Stop Pinging Posts From Own Domain
插件下载:No Self Pings
插件的安装不必细述。
附 这个插件的代码如下:
<?php /* Plugin Name: No Self Pings Plugin URI: http://blogwaffe.com/2006/10/04/421/ Description: Keeps WordPress from sending pings to your own site. Version: 0.2 Author: Michael D. Adams Author URI: http://blogwaffe.com/ License: GPL2 - http://www.gnu.org/licenses/gpl.txt */ function no_self_ping( &$links ) { $home = get_option( 'home' ); foreach ( $links as $l => $link ) if ( 0 === strpos( $link, $home ) ) unset($links[$l]); } add_action( 'pre_ping', 'no_self_ping' ); ?>
相关文章推荐
- Android M(6.0) 权限解决方案
- Android实现网络多线程文件下载
- C语言里面的 malloc 函数
- 菜圈的codewars(二),输入输出
- 平滑重启php
- java中Class.getResource用法
- php第七节课
- leetcode--Remove Duplicates from Sorted List
- 如何使用jquery修改css中带有!important的样式属性
- 如何在改版后的spring官网下载spring
- selenium - 驱动 chromedriver 初始化问题总结
- 5-15 QQ帐户的申请与登陆 (25分)
- 技术入股的坑
- Android onTouch事件解析
- 对象数组与指针+this指针
- 装饰者模式--Java篇
- NC开发笔记——1、主子表增加页签
- iPad登录网站,隐藏上传文档按钮
- RxJava学习(八)
- WebStorm2016.1 破解 激活