该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Instant Cookie Expire

描述

Limiting the cookie expire time of password protected posts. By default the cookie set when entering a password to access a password-protected post will be active for 10 days. This plugin turns this cookie into a session-based cookie. This means your visitor will need to re-enter the password if the browser was closed prior to revisiting the post.

安装

By following these instruction, you’ll be able to install Instant Cookie Expire.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/instant-cookie-expire directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

常见问题

I closed the browsertab and opened a new one, but your plugin does not work?

This is expected behaviour. Since the cookie works session-based, a password won’t be requested again unless the user closes the browser entirely.

评价

2017年6月6日
Attempted to use this with my protected pages. Made sure that I emptied my cookies first so that I knew I'd have to enter the password. Entered PW, fully closed broswer, came back in and had no issue openeing the pages. Uninstalled and off to find another solution.
阅读所有1条评价

贡献者及开发者

“Instant Cookie Expire” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Instant Cookie Expire”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

  • Altered the plugin code. Thanks to the suggestions of pjherrel.
  • Updated the description for WordPress 4.6

1.0

  • First release.