Htaccess File Editor 1.0.21

Does Htaccess File Editor work with WordPress 6.8.3 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: 179.72 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.020 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,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=4066ee2059
Aspect after-activation
HTTP status 200
Load time 0.299 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.467 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.233 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.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.3: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.3: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.3: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.220 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 1.005 s
Memory usage 5.29 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.892 s+0.584 s3.51 MiB5.29 MiB+ 1.79 MiB
/wp-admin/edit.php0.200 s0.193 s-0.007 s3.57 MiB3.59 MiB+ 21.68 KiB
/wp-admin/post-new.php0.780 s0.627 s-0.153 s6.06 MiB6.09 MiB+ 26.11 KiB
/wp-admin/upload.php0.778 s0.677 s-0.101 s3.52 MiB3.53 MiB+ 9.77 KiB
/wp-admin/options-writing.php0.223 s0.222 s-0.001 s3.5 MiB3.51 MiB+ 8.27 KiB
/wp-admin/media-new.php0.282 s0.255 s-0.027 s3.49 MiB3.51 MiB+ 16.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.258 s0.208 s-0.050 s3.5 MiB3.53 MiB+ 27.13 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.611 s-0.006 s6.05 MiB6.07 MiB+ 21.63 KiB
/wp-admin/options-discussion.php0.301 s0.402 s+0.101 s3.5 MiB3.51 MiB+ 4.77 KiB
/wp-admin/edit-comments.php0.400 s0.212 s-0.188 s3.52 MiB3.53 MiB+ 9.77 KiB
/0.327 s0.400 s+0.073 s3.43 MiB3.44 MiB+ 2.29 KiB
Average 0.407 s0.427 s+0.020 s3.97 MiB4.15 MiB+ 179.72 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
JSON
Language % Lines of code Comment lines Files
PHP85.4%73919916
JSON10.1%8701
XML3.9%3441
JavaScript0.3%301
CSS0.2%202
Total 865 203 21

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