远程图片自动保存插件Auto_Save_Image:去除非本站链接默认打钩

远程图片自动保存插件Auto_Save_Image 很好很强大。但是有一个小问题:发布文章时那个自动保存远程图片,自动去除非本站链接的框,默认没有打钩,今天小小修改下,让他默认打钩。
编辑插件auto-save-image/auto-save-image.php

[php]
<input style=\"width:20px;\" type=\"checkbox\" name=\"Auto_Save_Image\" value=\"1\" id=\"checkbox\" <?php echo $_COOKIE["wordpress_Auto_Save_Image"];?> />
[/php]

修改为:

[php]

<input style=\"width:20px;\" type=\"checkbox\" name=\"Auto_Save_Image\" value=\"1\" checked=\"true\" id=\"checkbox\" <?php echo $_COOKIE["wordpress_Auto_Save_Image"];?> />
[/php]

另外

[php]

<input style=\"width:20px;\" type=\"checkbox\" name=\"Auto_Remove_Link\" value=\"1\" id=\"checkbox\" <?php echo $_COOKIE["wordpress_Auto_Remove_Link"];?> />

[/php]

改为

[php]

<input style=\"width:20px;\" type=\"checkbox\" name=\"Auto_Remove_Link\" value=\"1\" checked=\"true\" id=\"checkbox\" <?php echo $_COOKIE["wordpress_Auto_Remove_Link"];?> />
[/php]

标签


Warning: error_log(/www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/#log/log-0216.txt): failed to open stream: No such file or directory in /www/wwwroot/www.ctrol.cn/wp-content/plugins/spider-analyser/spider.class.php on line 2900