插件目录

变更集2932612


忽略:
时间戳:
2023年6月30日上午11:36:22(12个月(之前)
作者:
flowdee公司
消息:

从GitHub更新到1.3.6版

位置:
响尾鲸
文件夹:
10已编辑
已复制1个

图例:

未修改
补充
已删除
  • clickwhale/tags/1.3.6/clickwhale.php

    2921635兰特 2932612元  
    1717*插件URI:https://clickwhale.pro
    1818*描述:最佳链接缩短器,点击WordPress的Tracker&Link Pages插件。
    19 *版本:1.3。5
     19*版本:1.3。6
    2020*要求至少:3.8
    2121*需要PHP 7.4.0
     
    3838*为插件重命名此名称,并在发布新版本时进行更新。
    3939 */
    40 const CLICKWHALE_VERSION='1.3。5';
     40const CLICKWHALE_VERSION='1.3。6';
    4141/**
    4242*@自1.3.0起
  • clickwhale/tags/1.3.6/public/class-clickwhale-public.php

    r2911013号 2932612元  
    9393
    9494私有函数get_public_path(string$trimmed=''):string{
    95 //如果PHP警告:未定义数组键“HTTP_HOST”
    96 if(!isset($_SERVER['HTTP_HOST']){
    97 $_SERVER['HTTP_HOST']='localhost';
    98         }
    99 $url=“//{$_SERVER['HTTP_HOST']}{$_SSERVER['REQUEST_URI']}”;
    100 $result=取消跟踪标记(parse_url($url,PHP_url_PATH));
     95$actual_link=(空($_SERVER['HTTPS'])?'http:https)。“://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”;
     96
     97$actual_link=str_replace(get_bloginfo('url'),'',$actual_link);
     98$result=untrailingslashit(parse_url($actual_link,PHP_url_PATH));
    10199
    102100if($trimmed){
  • 单击鲸鱼/tags/1.3.6/public/tracking/class-clickwhale-bot.php

    1831996年2月 2932612元  
    88    }
    99
    10 公共功能detectBot($ua){
     10公共功能detectBot($ua):单击Whale_Bot{
    1111
    12 if(preg_match('/\+https?:\/\//iu',$ua)){
     12if(preg_match('/\+https?:\/\//iu',$ua)
     13||(preg_match('/(?:Bot|Robot|Spider|Crawler)([\/\);]|$)/iu',$ua)
     14                  && ! preg_match('/CUBOT/iu',$ua)){
    1315/*根据UA字符串中的url检测机器人程序*/
    14 $this->is_bot=true;
    15 }else if(preg_match('/(?:Bot|Robot|Spider|Crawler)([\/\);]|$)/iu',$ua)
    16                     && ! 预匹配('/CUBOT/iu',$ua){
    1716/*基于通用标记检测机器人程序*/
    1817$this->is_bot=true;
     
    2120$url=插件dir_url(__FILE__)。'library/crawler-user-agents.json’;
    2221$request=wp_remote_get($url);
    23 $body=wp_remote_retrieve_body($request);
    24 $bots=json_decode($body,true);
    2522
    26 foreach($bot作为$bot){
    27 if(preg_match('/'.$bot['pattern'].'/',$ua)){
    28 $this->is_bot=true;
    29 断裂;
     23if(200===wp_remote_retrieve_response_code($request)){
     24$body=wp_remote_retrieve_body($request);
     25$bots=json_decode($body,true);
     26
     27foreach($bots作为$bot){
     28if(preg_match('/'.$bot['pattern'].'/',$ua)){
     29$this->is_bot=true;
     30断裂;
     31                    }
    3032                }
    3133            }
  • clickwhale/tags/1.3.6/public/tracking/library/crawler-user-agents.json

    1831996年2月 2932612元  
    118118“Mozilla/5.0(iPhone;CPU iPhone OS 7_0 like Mac OS X)AppleWebKit/537.51.1(KHTML,like Gecko)版本/7.0 Mobile/11A465 Safari/9537.53(兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)",
    119119“Mozilla/5.0(seoanalyzer;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)",
    120 “Mozilla/5.0 AppleWebKit/537.36(KHTML,如Gecko;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)Safari/537.36“
     120“Mozilla/5.0 AppleWebKit/537.36(KHTML,如Gecko;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)Safari/537.36“,
     121“Mozilla/5.0 AppleWebKit/537.36(KHTML,如Gecko;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)镀铬/103.0.5060.134 Safari/537.36“
    121122    ]
    122123  }
     
    19911992“Mozilla/5.0(兼容;SemrushBot-BA+http://www.semrush.com/bot.html)",
    19921993“Mozilla/5.0(兼容;SemrushBot/6~bl+http://www.semrush.com/bot.html)",
     1994“Mozilla/5.0(兼容;SemrushBot/7~bl+http://www.semrush.com/bot.html)",
    19931995“SEMrushBot”
    19941996    ],
     
    21682170“pattern”:“netEstate NE爬虫”,
    21692171“添加日期”:“2016/01/23”,
    2170 “url”:“+http://www.website-datenbank.de网站/",
     2172“url”:“网址:http://www.website-datenbank.de/",
    21712173“实例”:[
    21722174“netEstate NE爬虫(+网址:http://www.sengine.info/)",
     
    46104612  },
    46114613  {
    4612 “图案”:“C类乌雷博特”,
     4614“图案”:“[抄送]乌雷博特”,
    46134615“添加日期”:“2020年3月16日”,
    46144616“实例”:[
    4615 “Curebot/1.0”
     4617“Curebot/1.0”,
     4618“curebot-feed-fetcher”
    46164619    ]
    46174620  },
     
    48934896“Mozilla/5.0(Windows NT 10.0;WOW64)AppleWebKit/537.36(KHTML,如Gecko;兼容;Cookiebot/1.0+http://cookiebot.com/)Chrome浏览器/97.0.4692.71 Safari浏览器/537.36英寸
    48944897    ]
     4898  },
     4899  {
     4900“pattern”:“trovitBot”,
     4901“添加日期”:“2022/06/08”,
     4902“url”:“http://www.trovit.com/bot.html",
     4903“实例”:[
     4904“Mozilla/5.0(兼容;trovitBot 1.0+http://www.trovit.com/bot.html)"
     4905    ]
     4906  },
     4907  {
     4908“模式”:“seostar\\.co”,
     4909“添加日期”:“2022/08/04”,
     4910“url”:“https://seostar.co/机器人/",
     4911“实例”:[
     4912“Mozilla/5.0(兼容;Adsbot/3.1+https://seostar.co/robot/)"
     4913]
     4914  },
     4915  {
     4916“pattern”:“IonCrawl”,
     4917“添加日期”:“2022/08/04”,
     4918“url”:“https://www.ionos.de/terms-gtc/faq-crawler-en",
     4919“实例”:[
     4920“IonCrawl(https://www.ionos.de/terms-gtc/faq-crawler-en/)"
     4921    ]
     4922  },
     4923  {
     4924“pattern”:“Uptime Kuma”,
     4925“添加日期”:“2022/10/17”,
     4926“url”:“https://uptime.kuma.pet/",
     4927“实例”:[
     4928“正常运行时间Kuma/1.18.0”
     4929    ]
     4930  },
     4931  {
     4932“pattern”:“SeekportBot”,
     4933“addition_date”:“2022年10月17日”,
     4934“url”:“https://bot.seekport.com",
     4935“实例”:[
     4936“Mozilla/5.0(兼容;SeekportBot+https://bot.seekport.com)"
     4937    ]
     4938  },
     4939  {
     4940“pattern”:“FreshpingBot”,
     4941“添加日期”:“2022/10/17”,
     4942“url”:“https://www.freshworks.com/website-monitoring网站/",
     4943“实例”:[
     4944“FreshpingBot/1.0(+https://freshping.io网址/)"
     4945    ]
     4946  },
     4947  {
     4948“pattern”:“Feedbin”,
     4949“添加日期”:“2022/11/05”,
     4950“url”:“https://feedbin.com网站/",
     4951“实例”:[
     4952“Feedbin feed-id:2005098-2个订户”
     4953    ]
     4954  },
     4955  {
     4956“pattern”:“CriteoBot”,
     4957“添加日期”:“2022/11/13”,
     4958“url”:“https://www.criteo.com/",
     4959“实例”:[
     4960“CriteoBot/0.1(+https://www.criteo.com/criteo-crawler网站/)"
     4961    ]
     4962  },
     4963  {
     4964“pattern”:“快照URL预览服务”,
     4965“添加日期”:“2022/11/13”,
     4966“url”:“https://snap.com网站/",
     4967“实例”:[
     4968“快照URL预览服务;bot;snapchat;https://developers.snap.com/robots"
     4969    ]
     4970  },
     4971  {
     4972“pattern”:“Better Uptime Bot”,
     4973“添加日期”:“2022/11/13”,
     4974“url”:“https://bettburshme.com/",
     4975“实例”:[
     4976“Better Uptime Bot Mozilla/5.0(Windows NT 10.0;Win64;x64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/74.0.3729.169 Safari/537.36”
     4977    ]
     4978  },
     4979  {
     4980“模式”:“RuxitSynthetic”,
     4981“添加日期”:“2023/02/16”,
     4982“url”:“https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthentic-monitoring/browser-monitors/configure-browser-monitors#expand--默认用户代理“,
     4983“实例”:[“RuxitSynthetic/1.0”]
     4984  },
     4985  {
     4986“pattern”:“Google-Read-Around”,
     4987“addition_date”:“2023/02/16”,
     4988“url”:“https://developers.google.com/search/docs/crawing-indexing/overview-google-crawlers",
     4989“实例”:[
     4990“Mozilla/5.0(X11;Linux x86_64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/41.0.2272.118 Safari/537.36(兼容;Google-Read-Loud+https://developers.google.com/search/docs/crawing-indexing/overview-google-crawlers)",
     4991“Mozilla/5.0(Linux;Android 7.0;SM-G930V Build/NRD90M)AppleWebKit/537.36(KHTML,如Gecko)Chrome/59.0.3071.125 Mobile Safari/537.36(兼容;Google-Read-Loud+https://developers.google.com/search/docs/crawing-indexing/overview-google-crawlers)"
     4992    ]
     4993  },
     4994  {
     4995“pattern”:“阀\\/蒸汽”,
     4996“添加日期”:“2023/05/24”,
     4997“实例”:[
     4998“阀门/蒸汽HTTP客户端1.0(SteamChatURLLookup)”
     4999    ]
     5000  }
     5001
     5002  {
     5003“pattern”:“OdklBot\\/”,
     5004“添加日期”:“2023/05/24”,
     5005“实例”:[
     5006“OdklBot/1.0(share@odnoklassniki.ru共享邮箱)”,
     5007“Mozilla/5.0(兼容;OdklBot/1.0类似Linux;klass@odnoklassniki.ru)"
     5008    ],
     5009“url”:“https://odnoklassniki.ru网址/"
    48955010  }
    48965011]
  • clickwhale/tags/1.3.6/readme.txt

    2921635兰特 2932612元  
    66需要PHP:7.4.0
    77测试达到:6.2.1
    8 稳定标签:1.3。5
     8稳定标签:1.3。6
    99许可证:GPLv2或更高版本
    1010许可证URI:http://www.gnu.org/licenses/gpl-2.0.html
     
    9595==变更日志==
    9696
     97=版本1.3.6(2023年6月30日)=
     98*修复:修复了警告为class-clickwhale-bot.php中的foreach()提供的无效参数
     99*修复:修复了由于站点安装到子目录而导致链接和链接页面无法正常工作的问题
     100
    97101=版本1.3.5(2023年6月5日)=
    98102*修复:修复WordPress数据库错误列名linkpage_id重复
  • clickwhale/trunk/clickwhale.php

    2921635兰特 932612兰特  
    1717*插件URI:https://clickwhale.pro
    1818*描述:最佳链接缩短器,点击WordPress的Tracker&Link Pages插件。
    19 *版本:1.3。5
     19*版本:1.3。6
    2020*要求至少:3.8
    2121*需要PHP 7.4.0
     
    3838*为插件重命名此名称,并在发布新版本时进行更新。
    3939 */
    40 const CLICKWHALE_VERSION='1.3。5';
     40const CLICKWHALE_VERSION='1.3。6';
    4141/**
    4242*@自1.3.0起
  • 单击鲸鱼/trunk/public/class-clickwhale-public.php

    r2911013号 2932612元  
    9393
    9494私有函数get_public_path(string$trimmed=''):string{
    95 //如果PHP警告:未定义数组键“HTTP_HOST”
    96 if(!isset($_SERVER['HTTP_HOST']){
    97 $_SERVER['HTTP_HOST']='localhost';
    98         }
    99 $url=“//{$_SERVER['HTTP_HOST']}{$_SSERVER['REQUEST_URI']}”;
    100 $result=取消跟踪标记(parse_url($url,PHP_url_PATH));
     95$actual_link=(空($_SERVER['HTTPS'])?'http':'https')。“://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”;
     96
     97$actual_link=str_replace(get_bloginfo('url'),'',$actual_link);
     98$result=untrailingslashit(parse_url($actual_link,PHP_url_PATH));
    10199
    102100if($trimmed){
  • 单击whale/trunk/public/tracking/class-clickwhale-bot.php

    2831969兰特 2932612元  
    88    }
    99
    10 公共功能detectBot($ua){
     10公共功能detectBot($ua):单击Whale_Bot{
    1111
    12 if(preg_match('/\+https?:\/\//iu',$ua)){
     12if(preg_match('/\+https?:\/\//iu',$ua)
     13||(preg_match('/(?:Bot|Robot|Spider|Crawler)([\/\);]|$)/iu',$ua)
     14                  && ! preg_match('/CUBOT/iu',$ua)){
    1315/*根据UA字符串中的url检测机器人程序*/
    14 $this->is_bot=true;
    15 }else if(preg_match('/(?:Bot|Robot|Spider|Crawler)([\/\);]|$)/iu',$ua)
    16                     && ! 预匹配('/CUBOT/iu',$ua){
    1716/*基于通用标记检测机器人程序*/
    1817$this->is_bot=true;
     
    2120$url=插件dir_url(__FILE__)。'library/crawler-user-agents.json’;
    2221$request=wp_remote_get($url);
    23 $body=wp_remote_retrieve_body($request);
    24 $bots=json_decode($body,true);
    2522
    26 foreach($bot作为$bot){
    27 if(preg_match('/'.$bot['pattern'].'/',$ua)){
    28 $this->is_bot=true;
    29 断裂;
     23if(200===wp_remote_retrieve_response_code($request)){
     24$body=wp_remote_trieve_body($request);
     25$bots=json_decode($body,true);
     26
     27foreach($bot作为$bot){
     28if(preg_match('/'.$bot['pattern'].'/',$ua)){
     29$this->is_bot=true;
     30断裂;
     31                    }
    3032                }
    3133            }
  • 点击whale/ttrunk/public/tracking/library/cracler-user-agents.json

    2831969兰特 2932612元  
    118118“Mozilla/5.0(iPhone;CPU iPhone OS 7_0 like Mac OS X)AppleWebKit/537.51.1(KHTML,like Gecko)版本/7.0 Mobile/11A465 Safari/9537.53(兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)",
    119119“Mozilla/5.0(seoanalyzer;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)",
    120 “Mozilla/5.0 AppleWebKit/537.36(KHTML,如Gecko;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)Safari/537.36“
     120“Mozilla/5.0 AppleWebKit/537.36(KHTML,如Gecko;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)Safari/537.36“,
     121“Mozilla/5.0 AppleWebKit/537.36(KHTML,如Gecko;兼容;bingbot/2.0+网址:http://www.bing.com/bingbot.htm)镀铬/103.0.5060.134 Safari/537.36“
    121122    ]
    122123  }
     
    19911992“Mozilla/5.0(兼容;SemrushBot-BA+http://www.semrush.com/bot.html)",
    19921993“Mozilla/5.0(兼容;SemrushBot/6~bl+http://www.semrush.com/bot.html)",
     1994“Mozilla/5.0(兼容;SemrushBot/7~bl+http://www.semrush.com/bot.html)",
    19931995“SEMrushBot”
    19941996]中,
     
    21682170“pattern”:“netEstate NE爬虫”,
    21692171“添加日期”:“2016/01/23”,
    2170 “url”:“+网址:http://www.website-datenbank.de/",
     2172“url”:“http://www.website-datenbank.de网站/",
    21712173“实例”:[
    21722174“netEstate NE爬虫(+网址:http://www.sengine.info/)",
     
    46104612  },
    46114613  {
    4612 “图案”:“C类乌雷博特”,
     4614“图案”:“[抄送]乌雷博特”,
    46134615“添加日期”:“2020年3月16日”,
    46144616“实例”:[
    4615 “Curebot/1.0”
     4617“Curebot/1.0”,
     4618“curebot-feed-fetcher”
    46164619    ]
    46174620  },
     
    48934896“Mozilla/5.0(Windows NT 10.0;WOW64)AppleWebKit/537.36(KHTML,类似Gecko;兼容;Cookiebot/1.0+http://cookiebot.com/)铬/97.0.4692.71 Safari/537.36“
    48944897    ]
     4898  },
     4899  {
     4900“pattern”:“trovitBot”,
     4901“添加日期”:“2022/06/08”,
     4902“url”:“http://www.trovit.com/bot.html",
     4903“实例”:[
     4904“Mozilla/5.0(兼容;trovitBot 1.0+http://www.trovit.com/bot.html)"
     4905    ]
     4906  },
     4907  {
     4908“模式”:“seostar\\.co”,
     4909“添加日期”:“2022/08/04”,
     4910“url”:“https://seostar.co/robot/",
     4911“实例”:[
     4912“Mozilla/5.0(兼容;Adsbot/3.1+https://seostar.co/机器人/)”
     4913    ]
     4914  },
     4915  {
     4916“pattern”:“IonCrawl”,
     4917“添加日期”:“2022/08/04”,
     4918“url”:“https://www.ionos.de/terms-gtc/faq-crawler-en",
     4919“实例”:[
     4920“IonCrawl(https://www.ionos.de/terms-gtc/faq-crawler-en/)"
     4921    ]
     4922  },
     4923  {
     4924“pattern”:“Uptime Kuma”,
     4925“添加日期”:“2022/10/17”,
     4926“url”:“https://uptime.kuma.pet/",
     4927“实例”:[
     4928“正常运行时间Kuma/1.18.0”
     4929    ]
     4930  },
     4931  {
     4932“模式”:“SeekportBot”,
     4933“添加日期”:“2022/10/17”,
     4934“url”:“https://bot.seekport.com",
     4935“实例”:[
     4936“Mozilla/5.0(兼容;SeekportBot+https://bot.seekport.com)"
     4937    ]
     4938  },
     4939  {
     4940“pattern”:“FreshpingBot”,
     4941“添加日期”:“2022/10/17”,
     4942“url”:“https://www.freshworks.com/website-monitoring网站/",
     4943“实例”:[
     4944“FreshpingBot/1.0(+https://freshping.io网址/)"
     4945    ]
     4946  },
     4947  {
     4948“pattern”:“Feedbin”,
     4949“addition_date”:“2022年11月5日”,
     4950“url”:“https://feedbin.com网站/",
     4951“实例”:[
     4952“Feedbin feed-id:2005098-2个订户”
     4953    ]
     4954  },
     4955  {
     4956“pattern”:“CriteoBot”,
     4957“添加日期”:“2022/11/13”,
     4958“url”:“https://www.criteo.com/",
     4959“实例”:[
     4960“CriteoBot/0.1(+https://www.criteo.com/criteo-crawler网站/)"
     4961    ]
     4962  },
     4963  {
     4964“pattern”:“快照URL预览服务”,
     4965“添加日期”:“2022/11/13”,
     4966“url”:“https://snap.com网站/",
     4967“实例”:[
     4968“快照URL预览服务;bot;snapchat;https://developers.snap.com/robots"
     4969    ]
     4970  },
     4971  {
     4972“pattern”:“Better Uptime Bot”,
     4973“添加日期”:“2022/11/13”,
     4974“url”:“https://bettburshme.com/",
     4975“实例”:[
     4976“Better Uptime Bot Mozilla/5.0(Windows NT 10.0;Win64;x64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/74.0.3729.169 Safari/537.36”
     4977    ]
     4978  },
     4979  {
     4980“模式”:“RuxitSynthetic”,
     4981“添加日期”:“2023/02/16”,
     4982“url”:“https://www.dynatrace.com/support/help/platform modules/数字体验/合成监控/浏览器监控/配置浏览器监控#expand--默认用户代理“,
     4983“实例”:[“RuxitSynthetic/1.0”]
     4984  },
     4985  {
     4986“模式”:“谷歌朗读”,
     4987“添加日期”:“2023/02/16”,
     4988“url”:“https://developers.google.com/search/docs/crawing-indexing/overview-google-crawlers",
     4989“实例”:[
     4990“Mozilla/5.0(X11;Linux x86_64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/41.0.2272.118 Safari/537.36(兼容;Google-Read-Loud+https://developers.google.com/search/docs/crawing-indexing/overview-google-crawlers)",
     4991“Mozilla/5.0(Linux;Android 7.0;SM-G930V Build/NRD90M)AppleWebKit/537.36(KHTML,如Gecko)Chrome/59.0.3071.125 Mobile Safari/537.36(兼容;Google-Read-Loud+https://developers.google.com/search/docs/crawing-indexing/overview-google-crawlers)"
     4992    ]
     4993  },
     4994  {
     4995“pattern”:“阀\\/蒸汽”,
     4996“添加日期”:“2023/05/24”,
     4997“实例”:[
     4998“阀门/蒸汽HTTP客户端1.0(SteamChatURLLookup)”
     4999    ]
     5000  }
     5001
     5002  {
     5003“pattern”:“OdklBot\\/”,
     5004“添加日期”:“2023/05/24”,
     5005“实例”:[
     5006“OdklBot/1.0(share@odnoklassniki.ru)",
     5007“Mozilla/5.0(兼容;OdklBot/1.0类似Linux;klass@odnoklassniki.ru)"
     5008    ],
     5009“url”:“https://odnoklassniki.ru网址/"
    48955010  }
    48965011]
  • 单击鲸鱼/树干/自述.txt

    2921635兰特 2932612元  
    66需要PHP:7.4.0
    77测试达到:6.2.1
    8 稳定标签:1.3。5
     8稳定标签:1.3。6
    99许可证:GPLv2或更高版本
    1010许可证URI:http://www.gnu.org/licenses/gpl-2.0.html
     
    9595==变更日志==
    9696
     97=版本1.3.6(2023年6月30日)=
     98*修复:修复了警告为class-clickwhale-bot.php中的foreach()提供的无效参数
     99*修复:修复了链接和链接页无法正常工作的问题,因为该网站已安装到子目录
     100
    97101=版本1.3.5(2023年6月5日)=
    98102*修复:修复WordPress数据库错误重复列名linkpage_id
注:请参见TracChangeset(跟踪变更集)获取有关使用变更集查看器的帮助。