Wordpress PHP致命错误:调用未定义函数language_attributes()? [英] Wordpress php fatal error: Call to undefined function language_attributes()?

查看:113
本文介绍了Wordpress PHP致命错误:调用未定义函数language_attributes()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何解决以下错误.

严重错误:调用未定义的函数language_attributes()

Fatal error: Call to undefined function language_attributes()

推荐答案

您正在使用什么版本的WP?从我的研究中,我发现language_attributes()函数是WP 2.1的新功能.如果您使用的Wordpress版本早于2.1,则可以从header.php文件中删除函数调用,也可以升级Wordpress安装.

What version of WP are you using? From my research I found that the language_attributes() function is a new feature as of WP 2.1. If you are using a version of Wordpress older than 2.1 then you can either remove the function call from your header.php file or upgrade your wordpress installation.

这篇关于Wordpress PHP致命错误:调用未定义函数language_attributes()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆