Does No unsafe-inline work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .
1 | PHP warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 135.68 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.
WordPress version | 6.8.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 100+ |
WordPress.org page | https://wordpress.org/plugins/no-unsafe-inline/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=no-unsafe-inline%2Fno-unsafe-inline.php&plugin_status=all&paged=1&s&_wpnonce=6ec8ad8d31 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.497 s |
Memory usage | 3.68 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.383 s |
Memory usage | 3.66 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=base-rule |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.215 s |
Memory usage | 3.63 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=external |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.201 s |
Memory usage | 3.64 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=inline |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.187 s |
Memory usage | 3.64 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=events |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.193 s |
Memory usage | 3.64 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=settings |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.243 s |
Memory usage | 3.65 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=no-unsafe-inline&tab=logs |
---|---|
Aspect | menu-item-tab |
HTTP status | 200 |
Load time | 0.227 s |
Memory usage | 3.64 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.176 s |
Memory usage | 3.5 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.337 s | 0.287 s | -0.050 s | 3.51 MiB | 3.66 MiB | + 161.66 KiB |
/wp-admin/edit.php | 0.208 s | 0.408 s | +0.200 s | 3.57 MiB | 3.71 MiB | + 143.41 KiB |
/wp-admin/post-new.php | 0.773 s | 1.109 s | +0.336 s | 6.06 MiB | 6.22 MiB | + 164.62 KiB |
/wp-admin/upload.php | 0.624 s | 0.514 s | -0.110 s | 3.52 MiB | 3.65 MiB | + 126.28 KiB |
/wp-admin/options-writing.php | 0.229 s | 0.182 s | -0.047 s | 3.5 MiB | 3.63 MiB | + 130.68 KiB |
/wp-admin/media-new.php | 0.342 s | 0.250 s | -0.092 s | 3.49 MiB | 3.63 MiB | + 138.88 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.219 s | 0.178 s | -0.041 s | 3.5 MiB | 3.65 MiB | + 149.64 KiB |
/wp-admin/post-new.php?post_type=page | 0.606 s | 0.752 s | +0.146 s | 6.05 MiB | 6.21 MiB | + 160.15 KiB |
/wp-admin/options-discussion.php | 0.248 s | 0.322 s | +0.074 s | 3.5 MiB | 3.63 MiB | + 127.18 KiB |
/wp-admin/edit-comments.php | 0.428 s | 0.210 s | -0.218 s | 3.52 MiB | 3.65 MiB | + 126.84 KiB |
/ | 0.311 s | 0.220 s | -0.091 s | 3.43 MiB | 3.5 MiB | + 63.13 KiB |
Average | 0.393 s | 0.403 s | +0.010 s | 3.97 MiB | 4.1 MiB | + 135.68 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 51.9% | 9,555 | 4,891 | 48 | |
CSS | 40.9% | 7,530 | 373 | 15 | |
JavaScript | 7.0% | 1,289 | 323 | 6 | |
JSON | 0.3% | 48 | 0 | 1 | |
Total | 18,422 | 5,587 | 70 |
Lines of code | 9,225 |
---|---|
Total complexity | 1,747 |
Median class complexity | 24.0 |
Median method complexity | 2.0 |
Most complex class | No_Unsafe_Inline_Admin |
Most complex function | NUNIL\Nunil_Manipulate_DOM::manipulate_external_node() |
Classes | 35 |
---|---|
Methods | 410 |
Functions | 9 |
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.
wp_options
6[08-May-2025 14:24:32 UTC] PHP Warning: copy(/wp-content/mu-plugins/no-unsafe-inline-output-buffering.php): Failed to open stream: Permission denied in /wp-content/plugins/no-unsafe-inline/src/Nunil_Manage_Muplugin.php on line 68