Does "Disabled Source, Disabled Right Click and Content Protection" work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .
| 7 | PHP fatal errors |
| No JavaScript exceptions | |
| 1 | Page failed to load
|
| No resource errors |
Memory usage: 97.1 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.6.1 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 10,000+ |
| WordPress.org page | https://wordpress.org/plugins/disabled-source-disabled-right-click-and-content-protection/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=disabled-source-disabled-right-click-and-content-protection%2Fdisabled-source-and-content-protection.php&plugin_status=all&paged=1&s&_wpnonce=9c4a0b29c1 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.525 s |
| Memory usage | 3.57 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=disabled-source-disabled-right-click-and-content-protection |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.640 s |
| Memory usage | 3.56 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 500 |
| Load time | 0.055 s |
| Memory usage | N/A |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.349 s | 0.315 s | -0.034 s | 3.47 MiB | 3.56 MiB | + 83.16 KiB |
| /wp-admin/edit.php | 0.215 s | 0.234 s | +0.019 s | 3.54 MiB | 3.62 MiB | + 81.65 KiB |
| /wp-admin/post-new.php | 0.816 s | 0.615 s | -0.201 s | 5.75 MiB | 5.83 MiB | + 83.48 KiB |
| /wp-admin/upload.php | 0.647 s | 0.410 s | -0.237 s | 3.49 MiB | 3.56 MiB | + 69.8 KiB |
| /wp-admin/options-writing.php | 0.215 s | 0.194 s | -0.021 s | 3.41 MiB | 3.54 MiB | + 132.61 KiB |
| /wp-admin/media-new.php | 0.299 s | 0.460 s | +0.161 s | 3.4 MiB | 3.54 MiB | + 145.99 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.195 s | 0.217 s | +0.022 s | 3.47 MiB | 3.56 MiB | + 87.16 KiB |
| /wp-admin/post-new.php?post_type=page | 0.628 s | 0.595 s | -0.033 s | 5.75 MiB | 5.83 MiB | + 83.06 KiB |
| /wp-admin/options-discussion.php | 0.243 s | 0.274 s | +0.031 s | 3.41 MiB | 3.54 MiB | + 134.3 KiB |
| /wp-admin/edit-comments.php | 0.239 s | 0.237 s | -0.002 s | 3.49 MiB | 3.56 MiB | + 69.8 KiB |
| Average | 0.385 s | 0.355 s | -0.029 s | 3.92 MiB | 4.01 MiB | + 97.1 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 | 48.4% | 6,665 | 675 | 34 | |
| PO File | 47.2% | 6,500 | 3,591 | 20 | |
| Markdown | 2.8% | 379 | 0 | 2 | |
| JavaScript | 1.3% | 177 | 0 | 1 | |
| CSS | 0.4% | 58 | 2 | 2 | |
| SVG | 0.0% | 2 | 0 | 2 | |
| Total | 13,781 | 4,268 | 61 | ||
| Lines of code | 2,770 |
|---|---|
| Total complexity | 806 |
| Median class complexity | 13.5 |
| Median method complexity | 3.0 |
| Most complex class | CSF_Setup |
| Most complex function | CSF_Fields::field_data() |
| Classes | 18 |
|---|---|
| Methods | 83 |
| Functions | 31 |
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 2[02-Aug-2024 06:29:57 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php:243
Stack trace:
#0 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(243): in_array()
#1 /wp-includes/class-wp-hook.php(324): jh_disable_roles_wise_permission_callback()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(66): apply_filters()
#4 /wp-includes/class-wp-hook.php(324): disabled_source_front_page_script()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/script-loader.php(2263): do_action()
#8 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /wp-includes/general-template.php(3065): do_action()
#12 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#13 /wp-includes/template.php(810): require_once('...')
#14 /wp-includes/template.php(745): load_template()
#15 /wp-includes/general-template.php(48): locate_template()
#16 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#17 /wp-includes/template-loader.php(106): include('...')
#18 /wp-blog-header.php(19): require_once('...')
#19 /index.php(17): require('...')
#20 {main}
thrown in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php on line 243
[02-Aug-2024 06:29:57 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php:243
Stack trace:
#0 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(243): in_array()
#1 /wp-includes/class-wp-hook.php(324): jh_disable_roles_wise_permission_callback()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(66): apply_filters()
#4 /wp-includes/class-wp-hook.php(324): disabled_source_front_page_script()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/script-loader.php(2263): do_action()
#8 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /wp-includes/general-template.php(3065): do_action()
#12 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#13 /wp-includes/template.php(810): require_once('...')
#14 /wp-includes/template.php(745): load_template()
#15 /wp-includes/general-template.php(48): locate_template()
#16 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#17 /wp-includes/template-loader.php(106): include('...')
#18 /wp-blog-header.php(19): require_once('...')
#19 /index.php(17): require('...')
#20 {main}
thrown in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php on line 243
[02-Aug-2024 06:29:57 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php:243
Stack trace:
#0 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(243): in_array()
#1 /wp-includes/class-wp-hook.php(324): jh_disable_roles_wise_permission_callback()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(66): apply_filters()
#4 /wp-includes/class-wp-hook.php(324): disabled_source_front_page_script()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/script-loader.php(2263): do_action()
#8 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /wp-includes/general-template.php(3065): do_action()
#12 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#13 /wp-includes/template.php(810): require_once('...')
#14 /wp-includes/template.php(745): load_template()
#15 /wp-includes/general-template.php(48): locate_template()
#16 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#17 /wp-includes/template-loader.php(106): include('...')
#18 /wp-blog-header.php(19): require_once('...')
#19 /index.php(17): require('...')
#20 {main}
thrown in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php on line 243
[02-Aug-2024 06:29:58 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php:243
Stack trace:
#0 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(243): in_array()
#1 /wp-includes/class-wp-hook.php(324): jh_disable_roles_wise_permission_callback()
#2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(66): apply_filters()
#4 /wp-includes/class-wp-hook.php(324): disabled_source_front_page_script()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/script-loader.php(2263): do_action()
#8 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#9 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /wp-includes/general-template.php(3065): do_action()
#12 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#13 /wp-includes/template.php(810): require_once('...')
#14 /wp-includes/template.php(745): load_template()
#15 /wp-includes/general-template.php(48): locate_template()
#16 /wp-content/themes/twentyseventeen/404.php(13): get_header()
#17 /wp-includes/template-loader.php(106): include('...')
#18 /wp-blog-header.php(19): require_once('...')
#19 /index.php(17): require('...')
#20 {main}
thrown in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php on line 243
[02-Aug-2024 06:29:58 UTC] PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php:243
Stack trace:
#0 /wp-content/plugins/disabled-source-disabled-right-click-and-content-protection/includes/functions/functions.php(243): in_array()
#1 /wp-includes/class-wp-hook.php(324): jh_disable_roles_wise_permission_callback()
(+68 more lines)