Does "Disabled Source, Disabled Right Click and Content Protection" work with WordPress 6.5.5 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: 75.19 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.5.5 |
|---|---|
| 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=22be63bcd6 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.449 s |
| Memory usage | 3.46 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.585 s |
| Memory usage | 3.46 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 500 |
| Load time | 0.050 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.373 s | 0.318 s | -0.055 s | 3.44 MiB | 3.52 MiB | + 82.48 KiB |
| /wp-admin/edit.php | 0.209 s | 0.187 s | -0.022 s | 3.46 MiB | 3.54 MiB | + 82.45 KiB |
| /wp-admin/post-new.php | 0.911 s | 0.591 s | -0.320 s | 5.59 MiB | 5.68 MiB | + 87.48 KiB |
| /wp-admin/upload.php | 0.585 s | 0.680 s | +0.095 s | 3.38 MiB | 3.45 MiB | + 65.8 KiB |
| /wp-admin/options-writing.php | 0.228 s | 0.208 s | -0.020 s | 3.37 MiB | 3.43 MiB | + 57.11 KiB |
| /wp-admin/media-new.php | 0.306 s | 0.297 s | -0.009 s | 3.35 MiB | 3.43 MiB | + 77.34 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.205 s | 0.191 s | -0.014 s | 3.37 MiB | 3.45 MiB | + 82.51 KiB |
| /wp-admin/post-new.php?post_type=page | 0.544 s | 0.594 s | +0.050 s | 5.59 MiB | 5.67 MiB | + 83.06 KiB |
| /wp-admin/options-discussion.php | 0.343 s | 0.276 s | -0.067 s | 3.36 MiB | 3.43 MiB | + 68.54 KiB |
| /wp-admin/edit-comments.php | 0.268 s | 0.222 s | -0.046 s | 3.39 MiB | 3.46 MiB | + 65.12 KiB |
| Average | 0.397 s | 0.356 s | -0.041 s | 3.83 MiB | 3.9 MiB | + 75.19 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,663 | 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,779 | 4,268 | 61 | ||
| Lines of code | 2,768 |
|---|---|
| Total complexity | 803 |
| 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[26-Jun-2024 02:13:27 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(2265): 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(3050): 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
[26-Jun-2024 02:13:27 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(2265): 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(3050): 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
[26-Jun-2024 02:13:27 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(2265): 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(3050): 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
[26-Jun-2024 02:13:27 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(2265): 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(3050): 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
[26-Jun-2024 02:13:27 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)