[英]Wordpress 4.1 Plugin: “Rename wp-login.php” causes password protected pages to stop working
I have a custom built WordPress theme where the addition of the " Rename wp-login.php " Plugin has caused my password protected pages to stop working. 我有一个自定义构建的WordPress主题,其中添加了“ Rename wp-login.php ”插件导致我受密码保护的页面停止工作。
This is the built in "password protected page" function, not a additional plugin. 这是内置的“受密码保护的页面”功能,而不是其他插件。
When I go to the page in question, I still see the form to enter the password, but upon entering a password, the page simply refreshes and does not display the hidden content that it should be. 当我转到有问题的页面时,我仍然看到用于输入密码的表格,但是输入密码后,页面只会刷新,而不会显示应有的隐藏内容。
I have tried changing the password, I have tried making the page NON-PASSWORD-PROTECTED, then changing it back. 我尝试更改密码,尝试将页面设置为非密码保护,然后将其更改回。 Same thing, just a page refresh.
同样,只是刷新页面。 I'm having no luck on Google or WP.org finding an answer to this issue.
我在Google或WP.org上找不到这个问题的答案。 I am running WPMU Version 4.1.
我正在运行WPMU 4.1版。
Any and all help is appreciated. 任何和所有帮助表示赞赏。
UPDATE 2/11/15 更新2/11/15
First of all, this is an issue being caused by a plugin. 首先,这是由插件引起的问题。 Apologies
birgire
because the ONE plugin I was not allowed to deactivate (for security purposes) is, in fact, the source of the problem. 道歉
birgire
因为一个插件,我是不允许停用(出于安全目的),事实上,问题的根源。
The plugin is called: Rename wp-login.php and this plugin was implemented as we were experiencing an extremely high volume of bot net attacks on our standard "wp-login/wp-admin" pages respectively. 该插件名为: 重命名wp-login.php,并且在我们分别在标准“ wp-login / wp-admin”页面上遇到大量僵尸网络攻击时实施了此插件。
This plugin is not allowing the proper redirect to happen after the password field is submitted. 提交密码字段后,该插件不允许进行正确的重定向。 I will be contacting the plugin author directly but in the meantime, if anyone is in the same boat as I am (using this plugin) and has found a fix or work-around, I would love to hear it.
我将直接与插件作者联系,但与此同时,如果有人与我(使用此插件)在同一条船上,并且找到了解决方法或解决方法,我很想听听。
Thanks birgire
and Leftium
for the help so far. birgire
,感谢birgire
和Leftium
的帮助。
Was just looking for this myself... 我只是在找这个...
the_password_form
the_password_form
functions.php
file under your custom theme directory. functions.php
文件中。 wp-pass.php
with wp-login.php?action=postpass
wp-pass.php
替换为wp-login.php?action=postpass
wp-pass
was deprecated in favor of wp-login.php
since v3.4. wp-pass
而建议使用wp-login.php
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.