April 5th, 2008

WP插件Popularity Contest 1.3b3的错误及修正办法

Category: IT/Tech, Author: Leo, Popularity: 22%

博客升级到 WordPress 2.5 正式版之后,一些插件对2.5版本的兼容性难免会出现一些问题。比如 Alex King 所作的插件 Popularity Contest。

升级之前 Popularity Contest 的最新版本是1.3beta3,在博客升级到 WordPress 2.5 之后很多朋友包括本人在内会发现根本无法启用 Popularity Contest。现在提供一个临时的解决办法如下:

  • If you have an older version deactivate the plugin.
  • Download the latest release (link above).
  • Open popularity-contest.php and scroll down to line 59. Replace require(’../../wp-blog-header.php’); with require(’../wp-blog-header.php’);
  • Upload the edited file to your plugins folder (sub directory popularity-contest) ;
  • Reactivate the plugin .
  • 即是说编辑popularity-contest.php,跳至第59行,将:

    require('../../wp-blog-header.php');

    改为:

    require('../wp-blog-header.php');

    即可在 WordPress 2.5 下激活并正常使用。

    PS(0405):本来以为 Alex King 一直都很忙,没想到 Popularity Contest 的  SVN Repository 今天已经更新到1.3beta4版本,已经解决了 WordPress 2.5 下的兼容问题。

    Tags:, .
    评论数量(1) | Add Comments
    本文网址:http://www.weleo.net/2008/04/the-mistake-about-popularity-contest-13b3-and-solution.html

    One Comments so far

    » You can leave a response or Trackback .

    1. Gravatar Icon 芳草地 Says:

      我也遇到这个问题,多谢博主提供解决办法。

    leave a reply