這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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〉的開發相關工作。

參與者

將〈Update Unique Keys〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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