Htaccess File Editor 1.0.20

Does Htaccess File Editor work with WordPress 6.8.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: 176.81 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.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=847ff9c83a
Aspect after-activation
HTTP status 200
Load time 0.242 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.491 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.197 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.1:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.1: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.1: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.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.188 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.835 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.361 s0.877 s+0.516 s3.51 MiB5.26 MiB+ 1.75 MiB
/wp-admin/edit.php0.195 s0.190 s-0.005 s3.57 MiB3.59 MiB+ 21.68 KiB
/wp-admin/post-new.php0.752 s0.671 s-0.081 s6.06 MiB6.09 MiB+ 26.11 KiB
/wp-admin/upload.php0.559 s0.444 s-0.115 s3.52 MiB3.53 MiB+ 9.77 KiB
/wp-admin/options-writing.php0.215 s0.194 s-0.021 s3.5 MiB3.51 MiB+ 8.27 KiB
/wp-admin/media-new.php0.250 s0.196 s-0.054 s3.49 MiB3.51 MiB+ 16.46 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.179 s-0.025 s3.5 MiB3.53 MiB+ 27.13 KiB
/wp-admin/post-new.php?post_type=page0.594 s0.571 s-0.023 s6.05 MiB6.07 MiB+ 21.63 KiB
/wp-admin/options-discussion.php0.295 s0.218 s-0.077 s3.5 MiB3.51 MiB+ 4.77 KiB
/wp-admin/edit-comments.php0.222 s0.184 s-0.038 s3.52 MiB3.53 MiB+ 9.77 KiB
/0.324 s0.178 s-0.146 s3.43 MiB3.44 MiB+ 2.29 KiB
Average 0.361 s0.355 s-0.006 s3.97 MiB4.14 MiB+ 176.81 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