Force apply terms and conditions 1.0

Does "Force apply terms and conditions" work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
22PHP notices
31PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -22.64 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.

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/force-apply-terms-and-conditions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=force-apply-terms-and-conditions%2Fforce-apply-terms-and-conditions.php&plugin_status=all&paged=1&s&_wpnonce=87e5bac587
Aspect after-activation
HTTP status 200
Load time 0.237 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Plugins → Force apply t&c

Page screenshot: Plugins  → Force apply t&c
URL /wp-admin/plugins.php?page=force-apply-terms-and-conditions%2Fforce-apply-terms-and-conditions.php
Requested URL /wp-admin/plugins.php?page=force-apply-terms-and-conditions/force-apply-terms-and-conditions.php
Aspect menu-item
HTTP status 200
Load time 0.149 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Test site

Page screenshot: Test site
URL /
Aspect front-page
HTTP status 200
Load time 0.279 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.347 s0.245 s-0.102 s3.72 MiB3.73 MiB+ 3.51 KiB
/wp-admin/edit.php0.182 s0.190 s+0.008 s3.76 MiB3.76 MiB+ 3.51 KiB
/wp-admin/post-new.php0.742 s0.894 s+0.152 s5.55 MiB5.56 MiB+ 11.87 KiB
/wp-admin/upload.php0.388 s0.271 s-0.117 s3.69 MiB3.69 MiB+ 3.03 KiB
/wp-admin/options-writing.php0.153 s0.156 s+0.003 s3.62 MiB3.6 MiB- 17.06 KiB
/wp-admin/media-new.php0.473 s0.194 s-0.279 s3.66 MiB3.67 MiB+ 3.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.226 s0.183 s-0.043 s3.69 MiB3.69 MiB+ 4.11 KiB
/wp-admin/post-new.php?post_type=page1.115 s0.610 s-0.505 s5.54 MiB5.55 MiB+ 11.87 KiB
/wp-admin/options-discussion.php0.222 s0.327 s+0.105 s3.6 MiB3.6 MiB+ 3.52 KiB
/wp-admin/edit-comments.php0.215 s0.218 s+0.003 s3.7 MiB3.7 MiB+ 2.41 KiB
/0.289 s0.157 s-0.132 s3.6 MiB3.33 MiB- 278.96 KiB
Average 0.396 s0.313 s-0.082 s4.01 MiB3.99 MiB- 22.64 KiB

Code Statistics

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.

PHP
Language % Lines of code Comment lines Files
PHP100.0%150522
Total 150 52 2

PHP Code Analysis | More results »

Lines of code 82
Total complexity 21
Median class complexity 10.0
Median method complexity 3.0
Most complex class plugin_force_apply
Most complex function plugin_force_apply_frontend()
Classes 1
Methods 4
Functions 3

Additions

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.

No new entries found.

PHP Error Log 53 lines

[23-Sep-2022 02:44:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:09 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:10 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:11 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:11 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:11 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:11 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:12 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:12 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:13 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:13 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:13 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:13 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:13 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:14 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:14 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:14 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:14 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:14 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:14 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:15 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:15 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:15 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:15 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:16 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:17 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:17 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /wp-content/plugins/force-apply-terms-and-conditions/force-apply-terms-and-conditions.php on line 82
[23-Sep-2022 02:44:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:17 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
[23-Sep-2022 02:44:18 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 5663
See also: All tests for this plugin, How to Hide the "Force apply tc" Admin Menu