From 42dabf361aa0526f896e8ba3eb719f7a5ea329dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E5=9D=9A=E5=AE=9E?= Date: Mon, 28 Oct 2013 15:22:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9B=A0=20input=20name=20?= =?UTF-8?q?=E5=80=BC=E9=94=99=E8=AF=AF=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E7=BB=99=E6=96=87=E7=AB=A0=E5=8A=A0=E5=AF=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 设置密码保护的 input 的 name 值是 post-password,但后端期待的却是 $_POST['password'] 导致因取不到密码,而没法把文章的状态设为密码保护。 --- admin/write-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/write-post.php b/admin/write-post.php index 8a14359c..b1b6ef50 100644 --- a/admin/write-post.php +++ b/admin/write-post.php @@ -89,7 +89,7 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);