随笔分类 -  Wordpress

摘要:将以下配置加入到nginx配置 location / {} 中 if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite 阅读全文
posted @ 2022-10-11 15:16 风不会停息7 阅读(3) 评论(0) 推荐(0) 编辑
摘要:报错提示 [error] 8455#0: *51444987 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_domain() in 特征 客户 阅读全文
posted @ 2022-10-11 14:56 风不会停息7 阅读(5) 评论(0) 推荐(0) 编辑
摘要:add_filter( 'wp_kses_allowed_html', 'esw_author_cap_filter',1,1 ); function esw_author_cap_filter( $allowedposttags ) { if ( !current_user_can( 'publi 阅读全文
posted @ 2022-10-11 14:52 风不会停息7 阅读(6) 评论(0) 推荐(0) 编辑
摘要:1、pending:待审 2、draft:草稿 3、auto-draft:自动保存的草稿 4、inherit:修订版本 5、trash:回收站 6、publish:已发布 7、future:定时 8、private:私有 阅读全文
posted @ 2022-10-11 14:47 风不会停息7 阅读(4) 评论(0) 推荐(0) 编辑
摘要:修改nginx.conf client_max_body_size 2048m;修改php.ini upload_max_filesize=2048m; post_max_size=2048m; 参考https://www.jiloc.com/47529.html 阅读全文
posted @ 2022-10-11 14:43 风不会停息7 阅读(1) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示