Custom JavaScript Editor 1.1

Does Custom JavaScript Editor work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP warnings
5PHP notices
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 28.76 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 version7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/custom-javascript-editor/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=custom-javascript-editor%2Fcustom-javascript-editor.php&plugin_status=all&paged=1&s&_wpnonce=7096356947
Aspect after-activation
HTTP status 200
Load time 0.798 s
Memory usage 4.27 MiB
JS errors None
Resource errors None

Appearance → Custom JavaScript

Page screenshot: Appearance → Custom JavaScript
URL /wp-admin/themes.php?page=custom-javascript
Aspect menu-item
HTTP status 200
Load time 0.832 s
Memory usage 4.3 MiB
JS errors None
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.306 s
Memory usage 4.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.536 s0.657 s-0.879 s4.23 MiB4.26 MiB+ 35.46 KiB
/wp-admin/edit.php0.581 s0.561 s-0.020 s4.28 MiB4.32 MiB+ 35.46 KiB
/wp-admin/post-new.php1.890 s2.019 s+0.129 s6.78 MiB6.82 MiB+ 39.88 KiB
/wp-admin/upload.php2.415 s1.545 s-0.870 s4.25 MiB4.26 MiB+ 18.05 KiB
/wp-admin/options-writing.php0.627 s0.628 s+0.001 s4.22 MiB4.24 MiB+ 22.04 KiB
/wp-admin/media-new.php0.684 s0.748 s+0.064 s4.21 MiB4.24 MiB+ 30.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.560 s0.747 s+0.187 s4.22 MiB4.26 MiB+ 35.41 KiB
/wp-admin/post-new.php?post_type=page1.949 s2.275 s+0.326 s6.76 MiB6.79 MiB+ 35.41 KiB
/wp-admin/options-discussion.php1.078 s1.060 s-0.018 s4.23 MiB4.24 MiB+ 14.55 KiB
/wp-admin/edit-comments.php0.600 s0.615 s+0.015 s4.24 MiB4.26 MiB+ 18.05 KiB
/0.335 s0.254 s-0.081 s4.6 MiB4.63 MiB+ 31.82 KiB
Average 1.114 s1.010 s-0.104 s4.73 MiB4.76 MiB+ 28.76 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.

JavaScript
Language % Lines of code Comment lines Files
JavaScript88.4%5,9963,3294
CSS6.6%4514214
PHP5.0%337291
Total 6,784 3,400 19

PHP Code Analysis | More results »

Lines of code 337
Total complexity 53
Median class complexity 53.0
Median method complexity 3.0
Most complex class Custom_Javascript_Editor
Most complex function Custom_Javascript_Editor::handle_form()
Classes 1
Methods 18
Functions 0

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.

Custom Post Types 1

ID Name
customjsPosts

PHP Error Log 8 lines

[23-Aug-2026 21:10:27 UTC] PHP Deprecated:  Function screen_icon is <strong>deprecated</strong> since version 3.8.0 with no alternative available. in /wp-includes/functions.php on line 6260
[23-Aug-2026 21:10:27 UTC] PHP Deprecated:  Function get_screen_icon is <strong>deprecated</strong> since version 3.8.0 with no alternative available. in /wp-includes/functions.php on line 6260
[23-Aug-2026 21:10:27 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/custom-javascript-editor/custom-javascript-editor.php on line 181
[23-Aug-2026 21:10:27 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/custom-javascript-editor/custom-javascript-editor.php on line 181
[23-Aug-2026 21:10:27 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/custom-javascript-editor/custom-javascript-editor.php on line 181
[23-Aug-2026 21:10:27 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/custom-javascript-editor/custom-javascript-editor.php on line 231
[23-Aug-2026 21:10:28 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/custom-javascript-editor/custom-javascript-editor.php on line 181
[23-Aug-2026 21:10:42 UTC] PHP Notice:  Only variables should be passed by reference in /wp-content/plugins/custom-javascript-editor/custom-javascript-editor.php on line 181
See also: All tests for this plugin, How to Hide the "Custom JavaScript" Admin Menu