[wordpress插件] configure-login-timeout配置登录超时

wordpress 插件 文章 2020-03-30 09:30 635 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

By default, WordPress makes your login session cookie expire in 48 hours (or on browser close), or 14 days if you check the “Remember Me” box.

默认情况下,WordPress使您的登录会话Cookie在48小时(或在浏览器关闭时)或14天(如果您选中“记住我”)过期。

This plugin makes those timeout values user-configurable through the Users admin control panel.

该插件使这些超时值可以通过“用户”管理控制台进行用户配置。

安装步骤

Prerequisites

先决条件

I don’t think this will work with versions of WordPress earlier than 2.8, when the current option pages were implemented.

在实现当前选项页面时,我认为这不适用于2.8之前的WordPress版本。

You may want to

您可能要

rel="nofollow">directly hack the timeout values in the source code if you're running an earlier version of WordPress.

如果您运行的是WordPress的早期版本,则rel =“ nofollow”>直接修改源代码中的超时值。

The control panel uses Javascript.

控制面板使用Javascript。

It may not work on really archaic browsers.

它可能无法在真正的旧版浏览器上运行。

Installification

安装

    1. Either

      任何一个

        1. Unpack the zip file and upload the files to wp-content/plugins/configure-login-timeout,

          解压缩zip文件并将文件上传到 wp-content / plugins / configure-login-timeout

          or my favorite,

          或我的最爱

        2. Check it out fresh with Subversion:
        3. 使用Subversion进行全新检查:

           

           

      cd wp-content/plugins     

      cd wp-content / plugins     

      svn co https://plugins.svn.wordpress.org/configure-login-timeout/trunk configure-login-timeout

      svn co https://plugins.svn.wordpress.org/configure-login-timeout/trunk configure-login-timeout

        1. Activate the plugin through the ‘Plugins’ menu in WordPress.
        2. 通过WordPress中的“插件”菜单激活插件。

        3. Go to Users->Login Timeout to configure your site’s login timeouts.
        4. 转到“用户”->“登录超时”以配置网站的登录超时。

        5. You’ll have to log out and log in again for the new timeout to take effect on your session.
        6. 您必须先注销然后重新登录,新的超时才能对您的会话生效。

下载地址
https://downloads.wordpress.org/plugin/configure-login-timeout.zip
-EOF-

AI助手支持GPT4.0