Htaccess File Editor 1.0.20

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: 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.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=7736f80ad4
Aspect after-activation
HTTP status 200
Load time 0.296 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.447 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.220 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.184 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.906 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.335 s0.867 s+0.532 s3.51 MiB5.26 MiB+ 1.75 MiB
/wp-admin/edit.php0.205 s0.220 s+0.015 s3.57 MiB3.59 MiB+ 21.69 KiB
/wp-admin/post-new.php0.779 s0.647 s-0.132 s6.06 MiB6.09 MiB+ 26.11 KiB
/wp-admin/upload.php0.565 s0.336 s-0.229 s3.52 MiB3.53 MiB+ 9.77 KiB
/wp-admin/options-writing.php0.197 s0.357 s+0.160 s3.5 MiB3.51 MiB+ 8.27 KiB
/wp-admin/media-new.php0.251 s0.288 s+0.037 s3.49 MiB3.51 MiB+ 16.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.266 s0.191 s-0.075 s3.5 MiB3.53 MiB+ 27.13 KiB
/wp-admin/post-new.php?post_type=page0.629 s0.580 s-0.049 s6.05 MiB6.07 MiB+ 21.63 KiB
/wp-admin/options-discussion.php0.338 s0.272 s-0.066 s3.5 MiB3.51 MiB+ 4.77 KiB
/wp-admin/edit-comments.php0.205 s0.207 s+0.002 s3.52 MiB3.53 MiB+ 9.77 KiB
/0.309 s0.211 s-0.098 s3.43 MiB3.44 MiB+ 2.29 KiB
Average 0.371 s0.380 s+0.009 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