Htaccess File Editor 1.0.20

Does Htaccess File Editor work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 176.82 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/htaccess-file-editor/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=htaccess-file-editor%2Fhtaccess-file-editor.php&plugin_status=all&paged=1&s&_wpnonce=436a8e47f6
Aspect after-activation
HTTP status 200
Load time 0.312 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Htaccess

Page screenshot: Htaccess
URL /wp-admin/admin.php?page=htaccess-file-editor
Aspect menu-item
HTTP status 200
Load time 0.490 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Htaccess → Backup

Page screenshot: Htaccess → Backup
URL /wp-admin/admin.php?page=htaccess-file-editor-backup
Aspect menu-item
HTTP status 200
Load time 0.214 s
Memory usage 3.52 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.8.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.2:2:1977)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/htaccess-file-editor/assets/js/htaccess-file-editor.js?ver=1.0.20:3:19)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.8.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.8.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.185 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.915 s
Memory usage 5.26 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.395 s0.812 s+0.417 s3.51 MiB5.26 MiB+ 1.75 MiB
/wp-admin/edit.php0.201 s0.245 s+0.044 s3.57 MiB3.59 MiB+ 21.69 KiB
/wp-admin/post-new.php0.775 s0.640 s-0.135 s6.06 MiB6.09 MiB+ 26.11 KiB
/wp-admin/upload.php0.612 s0.575 s-0.037 s3.52 MiB3.53 MiB+ 9.77 KiB
/wp-admin/options-writing.php0.227 s0.202 s-0.025 s3.5 MiB3.51 MiB+ 8.27 KiB
/wp-admin/media-new.php0.342 s0.210 s-0.132 s3.49 MiB3.51 MiB+ 16.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.204 s-0.005 s3.5 MiB3.53 MiB+ 27.13 KiB
/wp-admin/post-new.php?post_type=page0.614 s0.572 s-0.042 s6.05 MiB6.07 MiB+ 21.63 KiB
/wp-admin/options-discussion.php0.261 s0.309 s+0.048 s3.5 MiB3.51 MiB+ 4.77 KiB
/wp-admin/edit-comments.php0.220 s0.219 s-0.001 s3.52 MiB3.53 MiB+ 9.77 KiB
/0.308 s0.213 s-0.095 s3.43 MiB3.44 MiB+ 2.29 KiB
Average 0.379 s0.382 s+0.003 s3.97 MiB4.14 MiB+ 176.82 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP95.0%73919916
XML4.4%3441
JavaScript0.4%301
CSS0.3%202
Total 778 203 20

PHP Code Analysis | More results »

Lines of code 494
Total complexity 85
Median class complexity 10.5
Median method complexity 1.5
Most complex class Htaccess_File_Editor
Most complex function htaccess_file_editor_create_backup()
Classes 4
Methods 26
Functions 7

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Meta Boxes

{
    "dashboard": {
        "mantrabrain_dashboard_blog_news": {
            "title": "Latest News From MantraBrain Blog",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Htaccess File Editor Admin Menus and Widgets