Lock PHP Files

Description

Secures your WordPress installation by:

  • Disabling theme/plugin editors via DISALLOW_FILE_EDIT
  • Blocking file modifications via DISALLOW_FILE_MODS
  • Removing editor menu items
  • Revoking file editing capabilities
  • Lightweight (only 3KB) with zero performance impact

Installation

  1. Upload to /wp-content/plugins/
  2. Activate in WordPress admin
  3. File editing will be immediately disabled

FAQ

How do I verify it’s working?

Try accessing /wp-admin/plugin-editor.php – you’ll see an error message.

Can I temporarily enable editing?

Yes, either deactivate the plugin or modify wp-config.php.

Will this affect updates?

No, automatic background updates still work.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Lock PHP Files” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Lock PHP Files” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.3

  • Updated tested version to 6.8
  • Fixed activation hook
  • Improved capability handling

1.0.2

  • Added DISALLOW_FILE_MODS
  • Enhanced security layers