MyAgilePrivacy 2.0.8

Does MyAgilePrivacy work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
8PHP warnings
10PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 188.9 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/myagileprivacy/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=myagileprivacy%2Fmy-agile-privacy.php&plugin_status=all&paged=1&s&_wpnonce=cc4058c69c
Aspect after-activation
HTTP status 200
Load time 0.259 s
Memory usage N/A
JS errors None
Resource errors None

My Agile Privacy

Page screenshot: My Agile Privacy
URL /wp-admin/admin.php?page=my-agile-privacy-c_settings
Aspect menu-item
HTTP status 200
Load time 0.693 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

My Agile Privacy → Privacy Settings

Page screenshot: My Agile Privacy → Privacy Settings
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&page=my-agile-privacy-c_settings
Aspect menu-item
HTTP status 200
Load time 0.282 s
Memory usage 3.19 MiB
JS errors None
Resource errors None

My Agile Privacy → Cookie List

Page screenshot: My Agile Privacy → Cookie List
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&post_status=publish
Aspect menu-item
HTTP status 200
Load time 0.194 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

My Agile Privacy → Policies List

Page screenshot: My Agile Privacy → Policies List
URL /wp-admin/edit.php?post_type=my-agile-privacy-p
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.23 MiB
JS errors None
Resource errors None

My Agile Privacy → Backup & Restore

Page screenshot: My Agile Privacy → Backup & Restore
URL /wp-admin/edit.php?post_type=my-agile-privacy-c&page=my-agile-privacy-c_backup_restore
Aspect menu-item
HTTP status 200
Load time 0.176 s
Memory usage 3.22 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.285 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.279 s0.430 s+0.151 s3.07 MiB3.26 MiB+ 191.73 KiB
/wp-admin/edit.php0.190 s0.199 s+0.009 s3.1 MiB3.29 MiB+ 191.16 KiB
/wp-admin/post-new.php0.737 s0.924 s+0.187 s5.02 MiB5.21 MiB+ 191.02 KiB
/wp-admin/upload.php0.549 s0.281 s-0.268 s3.02 MiB3.19 MiB+ 173.33 KiB
/wp-admin/options-writing.php0.170 s0.149 s-0.021 s3.01 MiB3.17 MiB+ 160.09 KiB
/wp-admin/media-new.php0.269 s0.215 s-0.054 s2.99 MiB3.17 MiB+ 185.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.180 s-0.033 s3.01 MiB3.19 MiB+ 190.69 KiB
/wp-admin/post-new.php?post_type=page0.594 s0.640 s+0.046 s5.01 MiB5.2 MiB+ 186.6 KiB
/wp-admin/options-discussion.php0.220 s0.272 s+0.052 s3 MiB3.17 MiB+ 173.82 KiB
/wp-admin/edit-comments.php0.210 s0.211 s+0.001 s3.03 MiB3.2 MiB+ 173.32 KiB
/0.305 s0.270 s-0.035 s2.97 MiB3.22 MiB+ 260.91 KiB
Average 0.340 s0.343 s+0.003 s3.38 MiB3.57 MiB+ 188.9 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.

CSS
PHP
PO File
JavaScript
Language % Lines of code Comment lines Files
CSS51.4%19,419335
PHP29.3%11,0721,38920
PO File11.0%4,1462,0705
JavaScript8.2%3,104874
XML0.1%2801
SVG0.0%805
Total 37,777 3,579 40

PHP Code Analysis | More results »

Lines of code 8,583
Total complexity 2,139
Median class complexity 302.0
Median method complexity 4.0
Most complex class MyAgilePrivacyAdmin
Most complex function MyAgilePrivacyAdmin::sync_cookies_and_fixed_texts()
Classes 5
Methods 188
Functions 5

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.

Options wp_options 4

Custom Post Types 2

ID Name
my-agile-privacy-cMy Agile Privacy
my-agile-privacy-pPolicies

Meta Boxes

{
    "my-agile-privacy-c": {
        "_map_is_necessary": {
            "title": "Is necessary?",
            "context": "side"
        },
        "_map_allow_sync": {
            "title": "Allow updates?",
            "context": "side"
        },
        "_map_script_installation": {
            "title": "Script Installation",
            "context": "advanced"
        }
    },
    "my-agile-privacy-p": {
        "_map_marketing": {
            "title": "Marketing Policy",
            "context": "advanced"
        },
        "_map_allow_sync": {
            "title": "Allow updates?",
            "context": "side"
        }
    }
}

PHP Error Log 29 lines

[05-Jun-2023 14:28:32 UTC] PHP Fatal error:  Uncaught Error: Non-static method MyAgilePrivacy::get_do_not_send_in_clear_settings_key() cannot be called statically in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php:3006
Stack trace:
#0 /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php(1175): MyAgilePrivacyAdmin->get_options_summary()
#1 /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php(615): MyAgilePrivacyAdmin->sync_cookies_and_fixed_texts()
#2 /wp-includes/class-wp-hook.php(308): MyAgilePrivacyAdmin->triggered_do_cron_sync()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/admin-footer.php(78): do_action()
#6 /wp-admin/plugins.php(784): require_once('...')
#7 {main}
  thrown in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3006
[05-Jun-2023 14:28:33 UTC] PHP Warning:  Undefined array key "allow_dpo_edit" in /wp-content/plugins/myagileprivacy/admin/views/admin_page_html.php on line 25
[05-Jun-2023 14:28:33 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.policies_tab.php on line 69
[05-Jun-2023 14:28:33 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.policies_tab.php on line 188
[05-Jun-2023 14:28:33 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.identity_tab.php on line 145
[05-Jun-2023 14:28:33 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 58
[05-Jun-2023 14:28:33 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 76
[05-Jun-2023 14:28:35 UTC] PHP Warning:  Undefined array key "allow_dpo_edit" in /wp-content/plugins/myagileprivacy/admin/views/admin_page_html.php on line 25
[05-Jun-2023 14:28:35 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.policies_tab.php on line 69
[05-Jun-2023 14:28:35 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.policies_tab.php on line 188
[05-Jun-2023 14:28:35 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.identity_tab.php on line 145
[05-Jun-2023 14:28:35 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 58
[05-Jun-2023 14:28:35 UTC] PHP Deprecated:  stripslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/myagileprivacy/admin/views/inc/inc.license_tab.php on line 76
[05-Jun-2023 14:28:36 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3757
[05-Jun-2023 14:28:37 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3757
[05-Jun-2023 14:28:38 UTC] PHP Warning:  Undefined array key "force_js_learning_mode" in /wp-content/plugins/myagileprivacy/frontend/my-agile-privacy-frontend.php on line 1059
[05-Jun-2023 14:28:38 UTC] PHP Warning:  Undefined array key "credits_image_only" in /wp-content/plugins/myagileprivacy/frontend/views/my-agile-privacy-notify.php on line 407
[05-Jun-2023 14:28:46 UTC] PHP Warning:  Undefined array key "force_js_learning_mode" in /wp-content/plugins/myagileprivacy/frontend/my-agile-privacy-frontend.php on line 1059
[05-Jun-2023 14:28:46 UTC] PHP Warning:  Undefined array key "credits_image_only" in /wp-content/plugins/myagileprivacy/frontend/views/my-agile-privacy-notify.php on line 407
See also: All tests for this plugin, How to Hide MyAgilePrivacy Admin Menus and Meta Boxes