首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法打开wp-admin (Wordpress)

无法打开wp-admin (Wordpress)
EN

Stack Overflow用户
提问于 2016-11-30 14:29:54
回答 1查看 2.2K关注 0票数 0

/home/u270125469/public_html/wp-admin/includes/class-wp-importer.php:271)致命错误:无法重新声明get_cli_args() (以前在/home/u270125469/public_html/wp-admin/includes/class-wp-importer.php中在第319行中声明)

在打开“abc.com/wp”,我得到上述错误。如何解决此错误?这发生在我安装了一个插件,用于导入定制文件。

EN

回答 1

Stack Overflow用户

发布于 2021-12-31 11:57:59

代码语言:javascript
复制
function replace_text($text) {
    $text = str_replace('look-for-this-string', 'replace-with-this-string', $text);
    $text = str_replace('look-for-that-string', 'replace-with-that-string', $text);
    return $text;
}

add_filter('the_content', 'replace_text');
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40890919

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档