Does "Disabled Source, Disabled Right Click and Content Protection" work with WordPress 6.6.2 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: 109.11 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.2 |
|---|---|
| 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=bf866481e5 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.308 s |
| Memory usage | 3.59 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.663 s |
| Memory usage | 3.57 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 500 |
| Load time | 0.062 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.353 s | 0.333 s | -0.020 s | 3.47 MiB | 3.57 MiB | + 96.59 KiB |
| /wp-admin/edit.php | 0.226 s | 0.226 s | +0.000 s | 3.54 MiB | 3.63 MiB | + 93.52 KiB |
| /wp-admin/post-new.php | 0.836 s | 0.591 s | -0.245 s | 5.75 MiB | 5.84 MiB | + 90.59 KiB |
| /wp-admin/upload.php | 0.592 s | 0.421 s | -0.171 s | 3.49 MiB | 3.57 MiB | + 83.23 KiB |
| /wp-admin/options-writing.php | 0.221 s | 0.201 s | -0.020 s | 3.41 MiB | 3.55 MiB | + 146.04 KiB |
| /wp-admin/media-new.php | 0.265 s | 0.350 s | +0.085 s | 3.4 MiB | 3.55 MiB | + 159.42 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.205 s | 0.209 s | +0.004 s | 3.47 MiB | 3.57 MiB | + 100.59 KiB |
| /wp-admin/post-new.php?post_type=page | 0.634 s | 0.620 s | -0.014 s | 5.75 MiB | 5.84 MiB | + 90.17 KiB |
| /wp-admin/options-discussion.php | 0.252 s | 0.292 s | +0.040 s | 3.41 MiB | 3.55 MiB | + 147.73 KiB |
| /wp-admin/edit-comments.php | 0.250 s | 0.241 s | -0.009 s | 3.49 MiB | 3.57 MiB | + 83.23 KiB |
| Average | 0.383 s | 0.348 s | -0.035 s | 3.92 MiB | 4.03 MiB | + 109.11 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.5% | 6,690 | 676 | 34 | |
| PO File | 47.1% | 6,500 | 3,591 | 20 | |
| Markdown | 2.7% | 379 | 0 | 2 | |
| JavaScript | 1.3% | 177 | 0 | 1 | |
| CSS | 0.4% | 58 | 2 | 2 | |
| SVG | 0.0% | 2 | 0 | 2 | |
| Total | 13,806 | 4,269 | 61 | ||
| Lines of code | 2,795 |
|---|---|
| Total complexity | 816 |
| 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 | 32 |
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[18-Sep-2024 07:47:36 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
[18-Sep-2024 07:47:36 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
[18-Sep-2024 07:47:36 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
[18-Sep-2024 07:47:37 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
[18-Sep-2024 07:47:37 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)