Title: Lock PHP Files
Author: rokundev
Published: <strong>7 يوليو، 2025</strong>
Last modified: 7 يوليو، 2025

---

البحث عن الإضافات

![](https://s.w.org/plugins/geopattern-icon/lock-php-files.svg)

# Lock PHP Files

 بواسطة [rokundev](https://profiles.wordpress.org/rokundev/)

[تنزيل](https://downloads.wordpress.org/plugin/lock-php-files.1.0.4.zip)

 * [تفاصيل](https://ar.wordpress.org/plugins/lock-php-files/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/lock-php-files/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/lock-php-files/#installation)
 * [التطوير](https://ar.wordpress.org/plugins/lock-php-files/#developers)

 [الدعم](https://wordpress.org/support/plugin/lock-php-files/)

## الوصف

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

## التنصيب

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

## الأسئلة المتكررّة

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

## المراجعات

لا توجد مراجعات لهذه الإضافة.

## المساهمون والمطوّرون

“Lock PHP Files” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

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

[ترجمة ”Lock PHP Files“ إلى لغتك.](https://translate.wordpress.org/projects/wp-plugins/lock-php-files)

### مُهتم بالتطوير؟

[تصفّح الشفرة](https://plugins.trac.wordpress.org/browser/lock-php-files/)، تحقق
من [مستودع SVN](https://plugins.svn.wordpress.org/lock-php-files/)، أو الاشتراك 
في [سجل التطوير](https://plugins.trac.wordpress.org/log/lock-php-files/) بواسطة 
[RSS](https://plugins.trac.wordpress.org/log/lock-php-files/?limit=100&mode=stop_on_copy&format=rss).

## سجل التغييرات

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

## ميتا Meta

 *  Version **1.0.4**
 *  Last updated **قبل 11 شهر**
 *  Active installations **أقل من 10**
 *  WordPress version ** 4.7 أو أعلى **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.0 أو أعلى **
 *  Language
 * [English (US)](https://wordpress.org/plugins/lock-php-files/)
 * Tags
 * [disable editor](https://ar.wordpress.org/plugins/tags/disable-editor/)[file editor](https://ar.wordpress.org/plugins/tags/file-editor/)
   [protection](https://ar.wordpress.org/plugins/tags/protection/)[secure](https://ar.wordpress.org/plugins/tags/secure/)
   [security](https://ar.wordpress.org/plugins/tags/security/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/lock-php-files/advanced/)

## التقييم

لم يتم تقديم أي مراجعات بعد.

[Your review](https://wordpress.org/support/plugin/lock-php-files/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lock-php-files/reviews/)

## المساهمون

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

## الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

 [عرض منتدى الدعم](https://wordpress.org/support/plugin/lock-php-files/)