Admin Robots.txt Editor source code
By Karan Makani, on WordPress.org since 2025. 600+ active installs.
Admin Robots.txt Editor provides a secure WordPress admin interface for editing the site’s robots.txt file. The plugin supports both: A physical robots.txt file in the WordPress installation root. Below is its source code for every one of its 2 releases, what changed in the latest one, and how often it ships.
What changed in 1.0.1
Released Aug 21, 2026, 9 months after 1.0.0- Updated compatibility information for WordPress 7.0.4.
- Improved robots.txt file reading and writing.
- Added safer filesystem handling and file locking.
- Respected WordPress public/private site visibility in virtual robots.txt output.
- Improved admin form actions, escaping, accessibility, and documentation.
- Corrected documentation to match the actual admin menu location.
4 files changed since 1.0.0: 2 modified, 2 added, 0 removed.
- admin-robots-txt-editor.php modified, +3,523 bytes
- readme.txt modified, +1,002 bytes
- assets/admin.js added
- uninstall.php added