解决Dagon Design Sitemap Generator v3.12 的一个bug

  今天把我的blog升级到2.3了,顺手升级了所有的插件,发现Dagon Design Sitemap Generator v3.12出现WordPress database error: [Unknown column 'wp_term_taxonomy.taxonomy' in 'where clause']错误。
  解决方法:打开dd-sitemap-gen.php,在952行找到wp_term_taxonomy.taxonomy,改为{$tp}term_taxonomy.taxonomy

  上面几行的表名都是以{$tp}开头的,在948-951四行中出现了8个{$tp},{$tp}就是$table_prefix,wp-config.php里的$table_prefix的默认值是wp_,不过大部分人都会修改吧,这个bug真小也真容易犯。

本文共有 0 条评论解决Dagon Design Sitemap Generator v3.12 的一个bug


  1. 没有评论

请留下您的评论:

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word