Linux 软件免费装

Code Freeze

开发者 k3davis
更新时间 2013年12月6日 04:13
PHP版本: 3.0 及以上
WordPress版本: 3.8

标签

migration disable disable comments code freeze read only disable dashboard

下载

1.1 1.2 1.2.1 1.2.2 1.2.3

详情介绍:

Code Freeze is a simple plugin that temporarily does the following while activated: These changes apply to all users (including admins). When deactivated, full functionality is restored. This plugin makes no database or site changes and has no settings. Simply deactivate/delete when no longer needed. Activate this plugin on your old site when you're in the process of changing web hosts to prevent lost data due to delays in DNS changes, or as a simple short-term "lock down" for other reasons. Also can be network activated to apply to all network sites. English only, but translation-ready. Edit the English language file (or create one for your locale) to change the text of the login or admin messages.

安装:

  1. Upload the entire code-freeze folder to the /wp-content/plugins/ directory.
  2. When you are ready to enact the "code freeze," activate the plugin through the 'Plugins' menu in WordPress.
  3. Done.
This plugin makes no database or site changes and has no settings. Simply deactivate/delete when no longer needed.

常见问题:

What is the purpose of this?

This plugin was developed to aid multi-user sites when they are being moved from one web host to another. In this case, the following workflow may be helpful:

  • Download a backup of your site (cPanel, etc.) and database. (Export and backup options are still available even if this plugin is already active.)
  • Install the Code Freeze plugin on the old site, and activate it. This will alert others that content changes won't be accepted or will be lost.
  • Upload/import your old site to your new one, and don't install the Code Freeze plugin there (unless you want to verify everything before returning the site to normal).
  • Notify your users that when the "code freeze" message is removed, they may resume their work. When DNS changes are in effect, you'll be directed to the site that doesn't have it installed, and all should be well.

How do I return my site and dashboard to normal?

Just deactivate or delete the plugin. There are no changes made to the site or database nor any settings to worry about.

Is it 100% bulletproof?

Not exactly. Many of the restrictions are hidden options rather than disabled capabilities, to reduce complexity. Therefore this is not intended to be a 100% bulletproof solution to preventing changes to your site, as a user who is familiar with the URL syntax of the different commands may still make changes. Additionally, some plugins may continue to expose options that can be modified, though this should be rare. While not completely bulletproof in every circumstance, it is designed to keep the average user from making changes during a brief time frame (such as waiting for DNS changes to take effect).

How do I change the text on the login screen or the alert message in the dashboard?

Edit the values in the appropriate language file. If there isn't one for your locale, go ahead and create one.

Can I use this on a Network (Multisite) install?

Yes. The plugin can be network activated rendering all sites on the network effectively read-only. However, it does not support loading via the mu-plugins folder at this time.

Why can users still do such-and-such while the plugin is active?

Let me know what you discover is still available and I'll try to disable modifications to it where appropriate.

更新日志:

1.2.3 1.2.2 1.2.1 1.2 1.1 1.0