Htaccess File Editor 1.0.19

Does Htaccess File Editor work with WordPress 6.7.1 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: 168.93 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.7.1
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=3bf5586958
Aspect after-activation
HTTP status 200
Load time 0.241 s
Memory usage 3.51 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.450 s
Memory usage 3.49 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.227 s
Memory usage 3.49 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-includes/js/codemirror/codemirror.min.js?ver=5.29.1-alpha-ee20357:22:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.7.1:2:1977)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/htaccess-file-editor/assets/js/htaccess-file-editor.js?ver=1.0.17:3:19)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils,wp-dom-ready,wp-hooks&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,hoverIntent,utils,wp-dom-ready,wp-hooks&ver=6.7.1: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.164 s
Memory usage 3.41 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.830 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.306 s0.800 s+0.494 s3.48 MiB5.23 MiB+ 1.75 MiB
/wp-admin/edit.php0.183 s0.173 s-0.010 s3.54 MiB3.56 MiB+ 20.28 KiB
/wp-admin/post-new.php0.712 s0.649 s-0.063 s5.92 MiB5.95 MiB+ 24.34 KiB
/wp-admin/upload.php0.534 s0.464 s-0.070 s3.5 MiB3.5 MiB+ 8.38 KiB
/wp-admin/options-writing.php0.211 s0.195 s-0.016 s3.47 MiB3.48 MiB+ 6.87 KiB
/wp-admin/media-new.php0.270 s0.218 s-0.052 s3.46 MiB3.48 MiB+ 15.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.179 s-0.006 s3.48 MiB3.5 MiB+ 25.73 KiB
/wp-admin/post-new.php?post_type=page0.526 s0.561 s+0.035 s5.92 MiB5.94 MiB+ 19.87 KiB
/wp-admin/options-discussion.php0.257 s0.234 s-0.023 s3.47 MiB3.48 MiB+ 3.37 KiB
/wp-admin/edit-comments.php0.404 s0.383 s-0.021 s3.49 MiB3.5 MiB+ 8.37 KiB
/0.295 s0.218 s-0.077 s3.48 MiB3.41 MiB- 69.05 KiB
Average 0.353 s0.370 s+0.017 s3.93 MiB4.09 MiB+ 168.93 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
PHP84.3%67918816
JSON10.8%8701
XML4.2%3441
JavaScript0.4%301
CSS0.2%202
Total 805 192 21

PHP Code Analysis | More results »

Lines of code 439
Total complexity 75
Median class complexity 8.5
Median method complexity 1.0
Most complex class Htaccess_File_Editor
Most complex function htaccess_file_editor_create_backup()
Classes 4
Methods 25
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