Does No unsafe-inline work with WordPress 6.8.2 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: 146.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.
WordPress version | 6.8.2 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 200+ |
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=9feadb887c |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.448 s |
Memory usage | 3.7 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.379 s |
Memory usage | 3.78 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.208 s |
Memory usage | 3.65 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.200 s |
Memory usage | 3.65 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.204 s |
Memory usage | 3.65 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.194 s |
Memory usage | 3.65 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.280 s |
Memory usage | 3.66 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.198 s |
Memory usage | 3.65 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.185 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.319 s | 0.241 s | -0.078 s | 3.51 MiB | 3.68 MiB | + 173.88 KiB |
/wp-admin/edit.php | 0.192 s | 0.375 s | +0.183 s | 3.57 MiB | 3.72 MiB | + 155.63 KiB |
/wp-admin/post-new.php | 0.761 s | 0.877 s | +0.116 s | 6.06 MiB | 6.23 MiB | + 176.87 KiB |
/wp-admin/upload.php | 0.608 s | 0.384 s | -0.224 s | 3.52 MiB | 3.66 MiB | + 138.5 KiB |
/wp-admin/options-writing.php | 0.217 s | 0.174 s | -0.043 s | 3.5 MiB | 3.64 MiB | + 142.89 KiB |
/wp-admin/media-new.php | 0.271 s | 0.227 s | -0.044 s | 3.49 MiB | 3.64 MiB | + 151.09 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.275 s | 0.190 s | -0.085 s | 3.5 MiB | 3.66 MiB | + 161.85 KiB |
/wp-admin/post-new.php?post_type=page | 0.599 s | 0.769 s | +0.170 s | 6.05 MiB | 6.22 MiB | + 172.39 KiB |
/wp-admin/options-discussion.php | 0.275 s | 0.297 s | +0.022 s | 3.5 MiB | 3.64 MiB | + 139.39 KiB |
/wp-admin/edit-comments.php | 0.418 s | 0.198 s | -0.220 s | 3.52 MiB | 3.66 MiB | + 139.05 KiB |
/ | 0.297 s | 0.191 s | -0.106 s | 3.43 MiB | 3.5 MiB | + 63.38 KiB |
Average | 0.385 s | 0.357 s | -0.028 s | 3.97 MiB | 4.11 MiB | + 146.81 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 | 52.0% | 10,099 | 4,994 | 48 | |
CSS | 39.7% | 7,700 | 373 | 15 | |
JavaScript | 8.1% | 1,568 | 388 | 6 | |
JSON | 0.3% | 52 | 0 | 1 | |
Total | 19,419 | 5,755 | 70 |
Lines of code | 9,681 |
---|---|
Total complexity | 1,767 |
Median class complexity | 23.0 |
Median method complexity | 2.0 |
Most complex class | NUNIL\admin\No_Unsafe_Inline_Admin |
Most complex function | NUNIL\publc\No_Unsafe_Inline_Public::output_csp_headers() |
Classes | 35 |
---|---|
Methods | 406 |
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[10-Aug-2025 17:48:49 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