去除WordPress插件Atuo Tag Slug的提示

  • A+
所属分类:wordpress

安装Atuo Tag Slug后,中文标签的问题解决了,可是又出现新的问题,在后台所有的页面,

都提示:“Atuo Tag Slug: 必须使用 API Key 来激活英语翻译功能,可以到 这里 获取并 修复.》”

看着太纠结了,所以就想招去掉它,步骤如下:

打开插件文件auto-tag-slug.php,删除第140行的如下代码:

打开插件文件auto-tag-slug.php,删除第140行的如下代码:

  1. add_action(‘admin_notices’, ats_api_warning’);

再打开插件文件admin_page.php,删除第89-96行的如下代码:

  1. function ats_api_warning() {
  2. global $ats_options;
  3. if ( empty($ats_options['bing_key']) ) {
  4. echo
  5. <div class=’updated fade’><p> Atuo Tag Slug: .__(‘You need an API key to activate English translator. Get one <a href=”http://www.bing.com/developers/appids.aspx” target=_blank>here</a> and <a href=”options-general.php?page=auto-tag-slug”>fix it</a>.’, ‘auto-tag-slug’) .”</p></div>
  6. “;
  7. }
  8. }
  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: