Title: Update Unique Keys
Author: gottaloveit
Published: <strong>2010 年 3 月 9 日</strong>
Last modified: 2022 年 6 月 18 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/update-unique-keys.svg)

# Update Unique Keys

 作者：[gottaloveit](https://profiles.wordpress.org/gottaloveit/)

[下载](https://downloads.wordpress.org/plugin/update-unique-keys.1.0.11.zip)

 * [详情](https://cn.wordpress.org/plugins/update-unique-keys/#description)
 * [评价](https://cn.wordpress.org/plugins/update-unique-keys/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/update-unique-keys/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/update-unique-keys/#developers)

 [支持](https://wordpress.org/support/plugin/update-unique-keys/)

## 描述

In an effort to help make WordPress installations more secure, this plugin will 
use the WordPress hosted Unique Key generator to update the wp-config.php file with
the following keys/salts:

 * AUTH_KEY
 * SECURE_AUTH_KEY
 * LOGGED_IN_KEY
 * NONCE_KEY
 * AUTH_SALT
 * SECURE_AUTH_SALT
 * LOGGED_IN_SALT
 * NONCE_SALT

If the wp-config.php file is not writable, then the plugin will show the key / salt
values on the plugin options page so the admin can then manually update the wp-config.
php file.

## 屏幕截图

 * [[
 * Output when wp-config.php is not writeable.
 * [[
 * Output when successful.

## 安装

Note: As is the case when installing any new plugin, it’s always a good idea to 
backup your blog data before installing.

 1. After downloading the Update Unique Keys plugin, unpack and upload the file to 
    the wp-content/plugins folder on your blog. Make sure to leave the directory structure
    of the archive intact so that all of the Update Unique Keys files are located in‘
    wp-content/plugins/updateuniquekeys/’
 2. You will need to activate the Update Unique Keys plugin in order to update your
    wp-config.php file. Go to the Plugins tab and find Update Unique Keys in the list
    and click **Activate**.
 3. After activating proceed to the plugin settings page (under Settings > Update Unique
    Keys) to update your keys and wp-config.php file.
 4. You will be automatically logged out, due to the keys changing, simply re-login
    with the same username and password.

## 常见问题

### Does this plugin mess up my wp-config.php file?

No, every other line does not get touched.

### What if my wp-config.php file is not-writable?

The plugin will display the values for you to manually update the wp-config.php 
file, using FTP or whatever method is allowed by your webhost.

### What if the keys are already generated and I run this plugin?

The plugin will generate a new set of keys. The only thing it does is log you out
temporarily. By updating the keys on occassion, provides more security for WordPress.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Update Unique Keys」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ gottaloveit ](https://profiles.wordpress.org/gottaloveit/)

[帮助将「Update Unique Keys」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/update-unique-keys)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/update-unique-keys/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/update-unique-keys/)，或通过[RSS](https://plugins.trac.wordpress.org/log/update-unique-keys/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/update-unique-keys/)。

## 更新日志

#### 1.0.0.

 * Original Release.

#### 1.0.1

 * Fix file include error

#### 1.0.2

 * Correctly tagging file versions
 * Added more FAQ

#### 1.0.3

 * Correctly tagging file versions

#### 1.0.4

 * Cleaned up variables and class, make it not possible for namespace collisions
   with other plugins
 * Added security, including administrator level user check and is_admin check

#### 1.0.5

 * Added localization
 * Cleaned up admin dash panel

#### 1.0.6

 * no functional changes
 * changed links in admin options panel

#### 1.0.7

 * no functional changes
 * verified works in 3.0

#### 1.0.8

 * moved pulling keys from wordpress.org to update function
 * to prevent site timeout if wordpress.org is timing out

#### 1.0.9

 * supporting up to WordPress 3.9

#### 1.0.10

 * supporting up to WordPress 4.5.3

#### 1.0.11

 * supporting up to WordPress 6.0
 * added some logic checking based on support feedback about empty keys
 * switched to using php curl (but checks if enabled in the code)
 * and more error checking

## 额外信息

 *  版本 **1.0.11**
 *  最后更新：**4 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 2.6 或更高版本 **
 *  已测试的最高版本为 **6.0.12**
 *  语言
 * [English (US)](https://wordpress.org/plugins/update-unique-keys/)
 * 标签
 * [wp-config](https://cn.wordpress.org/plugins/tags/wp-config/)
 *  [高级视图](https://cn.wordpress.org/plugins/update-unique-keys/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/update-unique-keys/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/update-unique-keys/reviews/)

## 贡献者

 *   [ gottaloveit ](https://profiles.wordpress.org/gottaloveit/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/update-unique-keys/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://passavanti.name/donate)