MyAgilePrivacy 2.1.2

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

Summary

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

Memory usage: 187.4 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=f9c8ee1f72
Aspect after-activation
HTTP status 200
Load time 1.332 s
Memory usage 3.43 MiB
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.716 s
Memory usage 3.46 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.298 s
Memory usage 3.2 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.336 s
Memory usage 3.28 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.230 s
Memory usage 3.28 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.183 s
Memory usage 3.23 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.437 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.432 s0.549 s+0.117 s3.07 MiB3.26 MiB+ 191.8 KiB
/wp-admin/edit.php0.246 s0.208 s-0.038 s3.1 MiB3.29 MiB+ 190.24 KiB
/wp-admin/post-new.php0.861 s1.405 s+0.544 s5.02 MiB5.21 MiB+ 198.99 KiB
/wp-admin/upload.php0.945 s0.363 s-0.582 s3.02 MiB3.19 MiB+ 175.8 KiB
/wp-admin/options-writing.php0.174 s0.156 s-0.018 s3.01 MiB3.17 MiB+ 162.56 KiB
/wp-admin/media-new.php0.267 s0.236 s-0.031 s2.99 MiB3.18 MiB+ 187.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.188 s-0.011 s3.01 MiB3.19 MiB+ 193.16 KiB
/wp-admin/post-new.php?post_type=page1.054 s0.870 s-0.184 s5.01 MiB5.2 MiB+ 194.27 KiB
/wp-admin/options-discussion.php0.308 s0.307 s-0.001 s3 MiB3.17 MiB+ 176.3 KiB
/wp-admin/edit-comments.php0.256 s0.226 s-0.030 s3.03 MiB3.2 MiB+ 175.8 KiB
/0.316 s0.350 s+0.034 s3.03 MiB3.24 MiB+ 214.77 KiB
Average 0.460 s0.442 s-0.018 s3.39 MiB3.57 MiB+ 187.4 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
CSS49.5%19,595435
PHP29.8%11,8241,39220
PO File11.9%4,7232,2355
JavaScript8.7%3,4341164
XML0.1%3001
SVG0.0%805
Total 39,614 3,786 40

PHP Code Analysis | More results »

Lines of code 9,165
Total complexity 2,311
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 190
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 7

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_page_reload_on_user_consent": {
            "title": "Requires page reload on user acceptance?",
            "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"
        }
    }
}

PHP Error Log 11 lines

[28-Jul-2023 14:43:46 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
[28-Jul-2023 14:43:46 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
[28-Jul-2023 14:43:46 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
[28-Jul-2023 14:43:46 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
[28-Jul-2023 14:43:46 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
[28-Jul-2023 14:43:48 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
[28-Jul-2023 14:43:48 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
[28-Jul-2023 14:43:48 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
[28-Jul-2023 14:43:48 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
[28-Jul-2023 14:43:48 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
[28-Jul-2023 14:43:49 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wp-content/plugins/myagileprivacy/admin/my-agile-privacy-admin.php on line 3995
See also: All tests for this plugin, How to Hide MyAgilePrivacy Admin Menus and Meta Boxes