URL Shortify插件去google加快后台响应

2022年12月10日 882点热度 0人点赞 0条评论

原来用Pretty Links短链接插件,升级了几个版本之后链接分组功能居然加入到付费版,换用URL Shortify短链接插件,分组功能免费而且界面更适用,后台的几处google jquery-ui-css删除掉,加快后台响应速度。

 

当前使用版本:URL Shortify 1.5.15.3版本

首页仪表台(Dashboard)去google jquery-ui-css位置

url-shortify/lite/includes/Admin.php 103行删除

if ( ! wp_style_is( 'jquery-ui-css', 'enqueued' ) ) {
wp_enqueue_style( 'jquery-ui-css','https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css' );}

 

链接列表页(Links)去掉获取链接页面Icon,用的google服务打不开

url-shortify/lite/includes/Admin/Links_Table.php 218行删除相应内容或者注释

<img class="h-6 w-6 mr-2" style="min-width: 1.5rem;" src="https://www.google.com/s2/favicons?domain=%s" title="%s"/>

 

设置页(Settings)去google jquery-ui-css位置

url-shortify/lite/includes/Settings.php 忘记行号了。。。删除下面这一行

wp_register_style( 'jquery-ui-css', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/ui-darkness/jquery-ui.css' );

Kenny

这个人很懒,什么都没留下

文章评论