Does No unsafe-inline work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
1 | PHP warnings |
13 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 133.97 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.1.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=554aba4630 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.582 s |
Memory usage | 3.13 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.384 s |
Memory usage | 3.53 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.238 s |
Memory usage | 3.16 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.254 s |
Memory usage | 3.15 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.219 s |
Memory usage | 3.15 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.220 s |
Memory usage | 3.15 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.271 s |
Memory usage | 3.14 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.228 s |
Memory usage | 3.16 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.221 s |
Memory usage | 2.99 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.288 s | 0.247 s | -0.041 s | 3.05 MiB | 3.19 MiB | + 145.16 KiB |
/wp-admin/edit.php | 0.217 s | 0.192 s | -0.025 s | 3.07 MiB | 3.22 MiB | + 144.08 KiB |
/wp-admin/post-new.php | 0.841 s | 0.989 s | +0.148 s | 4.97 MiB | 5.11 MiB | + 149.35 KiB |
/wp-admin/upload.php | 0.656 s | 0.439 s | -0.217 s | 2.99 MiB | 3.12 MiB | + 127.79 KiB |
/wp-admin/options-writing.php | 0.167 s | 0.165 s | -0.002 s | 2.99 MiB | 3.1 MiB | + 114.38 KiB |
/wp-admin/media-new.php | 0.439 s | 0.250 s | -0.189 s | 2.97 MiB | 3.1 MiB | + 139.98 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.184 s | 0.200 s | +0.016 s | 2.98 MiB | 3.12 MiB | + 145.15 KiB |
/wp-admin/post-new.php?post_type=page | 0.691 s | 0.646 s | -0.045 s | 4.96 MiB | 5.1 MiB | + 144.94 KiB |
/wp-admin/options-discussion.php | 0.246 s | 0.208 s | -0.038 s | 2.98 MiB | 3.1 MiB | + 128.22 KiB |
/wp-admin/edit-comments.php | 0.212 s | 0.227 s | +0.015 s | 3 MiB | 3.13 MiB | + 127.78 KiB |
/ | 0.316 s | 0.228 s | -0.088 s | 2.94 MiB | 3.05 MiB | + 106.88 KiB |
Average | 0.387 s | 0.345 s | -0.042 s | 3.35 MiB | 3.49 MiB | + 133.97 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 | 55.9% | 8,265 | 4,139 | 47 | |
CSS | 28.6% | 4,223 | 205 | 6 | |
PO File | 10.1% | 1,490 | 596 | 1 | |
JavaScript | 5.1% | 758 | 99 | 5 | |
JSON | 0.3% | 39 | 0 | 1 | |
Total | 14,775 | 5,039 | 60 |
Lines of code | 7,955 |
---|---|
Total complexity | 1,480 |
Median class complexity | 16.5 |
Median method complexity | 2.0 |
Most complex class | No_Unsafe_Inline_Admin |
Most complex function | NUNIL\Nunil_Manipulate_DOM::manipulate_external_node() |
Classes | 32 |
---|---|
Methods | 347 |
Functions | 7 |
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
5[02-Dec-2022 01:53:27 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 69
[02-Dec-2022 01:53:31 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-external.php on line 18
[02-Dec-2022 01:53:31 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-external.php on line 20
[02-Dec-2022 01:53:31 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-external.php on line 21
[02-Dec-2022 01:53:31 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-external.php on line 22
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-inline.php on line 18
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-inline.php on line 20
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-inline.php on line 21
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-inline.php on line 22
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-events.php on line 18
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-events.php on line 20
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-events.php on line 21
[02-Dec-2022 01:53:32 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-events.php on line 22
[02-Dec-2022 01:53:35 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRIPPED is deprecated in /wp-content/plugins/no-unsafe-inline/admin/partials/no-unsafe-inline-logs.php on line 18