scribble

守望的麦子

About Projects Tool Guestbook

14 Dec 2008
原主题风格成功修复

WP更新为2.7版本后发现这样的提示:
Fatal error: Only variables can be passed by reference in …/functions.php on line

已成功解决:

将主题风格下function.php中

$comments_by_type = &separate_comments(get_comments(‘post_id=’ . $id));

替换为:

$get_comments= get_comments('post_id=' . $id);
$comments_by_type = &separate_comments($get_comments);

即可。OK, Now, it is working well after replacing the code. Enjoy!!!

Til next time,
Jason at 00:00

scribble

About Projects Tool Guestbook