wordpress 2.9升级simple tag can’t work解决

google01898--ss刚刚升级到最新版wordpress 2.9,升级很快,但是提示: Simple Tags can’t work with this WordPress version !,现在页面不能正常显示,发帖时tag找不到了,先发一贴试一试,还没有找到解决办法,正在寻找答案……
1 我目前的临时解决办法是:
为了正常显示页面,临时解决办法是将 标签云调用的代码临时去掉,即

《php st_tag_cloud( ); ?》 注:双书名号改为单书名号

这样就可以正常显示页面了,只是没有标签云;

2 去官方插件网站看了一下:写着

“Simple Tags 插件不能 Simple Tags is the successor of Simple Tagging Plugin This is THE perfect tool to manage perfeclty your WP 2.3, 2.5, 2.6, 2.7 and 2.8 tags

原来在当前 Wp2.9 版本工作上不兼容,最高版本检查到wp 2.8 只好在官网继续看找到了:

Nothing in 2.9, as far as I can see, that will actually break Simple Tags. The error is thrown because the author has hardcoded a version check.

If you edit the plugin via the editor interface, find this line (near the top):

if ( strpos($wp_version, ’2.7′) !== false || strpos($wp_version, ’2.8′) !== false) {

and change it to

if ( strpos($wp_version, ’2.7′) !== false || strpos($wp_version, ’2.8′) !== false || strpos($wp_version, ’2.9′) !== false ) {

………………………………………………

文章可转载,转载请注明:

本文摘自:美博园 http://allinfa.com » wordpress 2.9升级simple tag can’t work解决
本文链接:http://allinfa.com/wordpress-2-9-simple-tag-cant-work.html


【这里是网友的留言】

1 条评论 in “wordpress 2.9升级simple tag can’t work解决”
  1. wangwang says:

    正在招办法,谢谢分享

评论分页:

【 请留下您的评论 】

Copyright © 2010 美博园. 版权所有. 本站文章可以自由转载,转载请注明 美博园 〖回到顶部〗