Wordpress迁移和升级

时间:2014-04-07 19:08:56

标签: php wordpress centos

我最近更新了我的WordPress服务器,从CentOS 5升级到CentOS 6.5并迁移了我的WordPress安装。一切看起来都很好,期待它显示在每个页面的顶部:

", "", $excerpt); $excerpt = str_replace("
", "", $excerpt); if (strlen($excerpt > 0)) echo strip_tags($excerpt); else echo get_post_meta($post->ID, "description", true);?>" />

我的WordPress版本是3.8.1。

为什么会出现?

1 个答案:

答案 0 :(得分:0)

问题在于php.ini中的short_open_tag。启用它,有效!

相关问题