Simple Custom CSS and JS 3.51.1

Does Simple Custom CSS and JS work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 134.38 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.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 700,000+
WordPress.org page https://wordpress.org/plugins/custom-css-js/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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-css-js%2Fcustom-css-js.php&plugin_status=all&paged=1&s&_wpnonce=604a027f4f
Aspect after-activation
HTTP status 200
Load time 0.478 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Custom CSS & JS

Page screenshot: Custom CSS & JS
URL /wp-admin/edit.php?post_type=custom-css-js
Aspect menu-item
HTTP status 200
Load time 0.400 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Custom CSS & JS → Add Custom CSS

Page screenshot: Custom CSS & JS → Add Custom CSS
URL /wp-admin/post-new.php?post_type=custom-css-js&language=css
Aspect menu-item
HTTP status 200
Load time 0.555 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Custom CSS & JS → Add Custom JS

Page screenshot: Custom CSS & JS → Add Custom JS
URL /wp-admin/post-new.php?post_type=custom-css-js&language=js
Aspect menu-item
HTTP status 200
Load time 0.407 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Custom CSS & JS → Add Custom HTML

Page screenshot: Custom CSS & JS → Add Custom HTML
URL /wp-admin/post-new.php?post_type=custom-css-js&language=html
Aspect menu-item
HTTP status 200
Load time 0.442 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Custom CSS & JS → Settings

Page screenshot: Custom CSS & JS → Settings
URL /wp-admin/edit.php?post_type=custom-css-js&page=custom-css-js-config
Aspect menu-item
HTTP status 200
Load time 0.315 s
Memory usage 3.84 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.270 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.493 s0.449 s-0.044 s3.78 MiB3.92 MiB+ 152.59 KiB
/wp-admin/edit.php0.378 s0.374 s-0.004 s3.78 MiB3.93 MiB+ 149.82 KiB
/wp-admin/post-new.php0.838 s0.898 s+0.060 s6.31 MiB6.47 MiB+ 162.82 KiB
/wp-admin/upload.php0.466 s0.560 s+0.094 s3.74 MiB3.86 MiB+ 125.95 KiB
/wp-admin/options-writing.php0.358 s0.318 s-0.040 s3.71 MiB3.84 MiB+ 129.94 KiB
/wp-admin/media-new.php0.541 s0.359 s-0.182 s3.7 MiB3.84 MiB+ 138.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.354 s0.304 s-0.050 s3.72 MiB3.86 MiB+ 148.8 KiB
/wp-admin/post-new.php?post_type=page0.736 s0.708 s-0.028 s6.3 MiB6.45 MiB+ 160.27 KiB
/wp-admin/options-discussion.php0.358 s0.351 s-0.007 s3.71 MiB3.84 MiB+ 126.44 KiB
/wp-admin/edit-comments.php0.356 s0.331 s-0.025 s3.73 MiB3.86 MiB+ 125.94 KiB
/0.317 s0.185 s-0.132 s4.12 MiB4.17 MiB+ 57.55 KiB
Average 0.472 s0.440 s-0.033 s4.24 MiB4.37 MiB+ 134.38 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
PO File
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP47.4%2,0504277
PO File22.9%9893833
JavaScript18.7%807624
CSS11.1%481292
Total 4,327 901 16

PHP Code Analysis | More results »

Lines of code 2,109
Total complexity 452
Median class complexity 30.0
Median method complexity 3.0
Most complex class CustomCSSandJS_Admin
Most complex function CustomCSSandJS::__call()
Classes 7
Methods 81
Functions 3

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.

Options wp_options 5

Custom Post Types 1

ID Name
custom-css-jsCustom Code

Meta Boxes

{
    "custom-css-js": {
        "custom-code-options": {
            "title": "Options",
            "context": "side"
        },
        "previewdiv": {
            "title": "Preview",
            "context": "normal"
        },
        "url-rules": {
            "title": "Apply only on these URLs",
            "context": "normal"
        },
        "revisionsdiv": {
            "title": "Code Revisions",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
css_js_designerWeb Designer

Capabilities 10

PHP Error Log 4 lines

[02-Dec-2025 21:27:58 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 21:27:58 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 21:28:08 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[02-Dec-2025 21:28:08 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
See also: All tests for this plugin, How to Hide Simple Custom CSS and JS Admin Menus and Meta Boxes