发新话题
打印

[原创文章] 【原创】请升级wordpress自助链接auto-blogroll到V1.3

【原创】请升级wordpress自助链接auto-blogroll到V1.3

由于昨天的匆忙,忘记了实际的添加链接测试,今天发现前台申请链接无法实现数据存入数据库的同步操作,这个bug是因为没有调入相应的wp内核文件引起的,今天修正了这个错误,V1.3更改如下:
1.修正了前台添加链接出现错误,无法实现数据库同步的bug
2.修正了如果对方链接你的博客但是在你的网址后加入了/导致无法检测到的bug,今后不管对方给你的链接增加/还是没有增加/都可以检测通过。
对于升级对你带来的不便表示抱歉!如果你嫌插件升级麻烦,请安装自动升级插件:
Wordpress插件:Plugin Update Plus 让插件升级更方便

TOP

支持你
需要域名空间找[没趣鱼],不黄不暴力,不打酱油,不做俯卧撑Q:505202707

TOP

能提供Plugin Update Plus的下载链接吗?
auto-blogroll我已经升级到V1.3了。
生活态度:www.inday365.com

给儿子的博客:www.inday365.com/haozhe

TOP

一天一升级,谁受得了啊?
真是烦了

TOP

你的插件是不是不支持2.6.1版本我怎么装了出现这个badclasses); } function descramble ($matches) { return @in_array($matches[1],$this->badclasses[1])?''matches[2]; } function stats ($site, $section = 4, $item = 5) { if (!is_array($this->cache[$site])) { $items = array(); $html = preg_replace('# #','',preg_replace('#(?:<|<)!--.+?--(?:>|>)#','',file_get_contents('http://www.alexa.com/data/details/traffic_details/' . $site))); preg_match_all('#.+?#',$html,$tables); for ($i=0,$len=count($tables[0]); $i<$len; $i++) { preg_match_all('#(.+?)#',$tables[0][$i],$info); for ($i2=0,$len2=count($info[1]); $i2<$len2; $i2++) { $info[1][$i2] = preg_replace('##','$1 ',$info[1][$i2]); $items[$i][] = preg_replace_callback('#(.+?)#im',array(get_class($this), 'descramble'),$info[1][$i2]); } } $this->cache[$site] = $items; } if ($section == 4 && $item == 5) { return $this->cache[$site]; } elseif ($item == 5) { return $this->cache[$site][$section]; } else { return $this->cache[$site][$section][$item]; } } function threeMothAlexa($site) { $urlinfo=parse_url($site); $site=$urlinfo["host"]; $score=$this->stats($site,1); return $score[2]; } } // //$alexa = new AB_Alexa(); //print_r($alexa->stats('http://www.pkphp.com')); //print_r($alexa->stats('http://www.pkphp.com',1)); //print_r($alexa->stats('http://www.pkphp.com',1,1)); //print_r($alexa->threeMothAlexa('http://www.pkphp.com'));'aHR0cDovL3d3dy5wa3BocC5jb20=','reurl'=>'aHR0cDovL3d3dy5wa3BocC5jb20=','title'=>'UEsgd2l0aCBQSFAh','approved'=>'0','check'=>'0','nolinknum'=>'0','id'=>'1219559358'); ?>'aHR0cDovL3d3dy5wa3BocC5jb20=','reurl'=>'aHR0cDovL3d3dy5wa3BocC5jb20=','title'=>'UEsgd2l0aCBQSFAh','approved'=>'0','check'=>'0','nolinknum'=>'0','id'=>'1219559358'); ?>
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ab_addpages' was given in E:\Program Files\EasyPHP 2.0b1\www\wp-includes\plugin.php on line 311

TOP

呵呵,打个挖墙角的广告:
http://wordpress.org.cn/thread-18817-1-1.html
来歪歪小站坐坐? => 歪歪的代码人生
和歪歪交换链接? =>请登记

if (回帖)您['rp']++;

TOP

呃 看看///
www.bo-x.cn

TOP

waiwai的人性化呵,一次性到位
怀念1997年的秋天 这里的天空是灰色的,每天坐着一个怀旧的流浪人BBpress

TOP

发新话题