=== Lock PHP Files ===
Contributors: rokundev
Tags: security, file editor, disable editor, protection, secure
Requires at least: 4.7
Tested up to: 6.8
Stable tag: 1.0.4
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 7.0


Completely disables PHP file editing through WordPress admin.

== 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

== Frequently Asked Questions ==

= 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.

== Screenshots ==
1. Plugin editor shows permission error
2. Theme editor menu removed
3. Success notice after activation

== 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

== Upgrade Notice ==

1.0.3 - Now fully compatible with WordPress 6.8