Age Gate 2.21.2

Does Age Gate work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 422.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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/age-gate/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=age-gate%2Fage-gate.php&plugin_status=all&paged=1&s&_wpnonce=3188d326bb
Aspect after-activation
HTTP status 200
Load time 0.432 s
Memory usage 4.15 MiB
JS errors None
Resource errors None

Age Gate

Page screenshot: Age Gate
URL /wp-admin/admin.php?page=age-gate
Aspect menu-item
HTTP status 200
Load time 0.420 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Age Gate → Messaging

Page screenshot: Age Gate → Messaging
URL /wp-admin/admin.php?page=age-gate-messaging
Aspect menu-item
HTTP status 200
Load time 0.666 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Age Gate → Appearance

Page screenshot: Age Gate → Appearance
URL /wp-admin/admin.php?page=age-gate-appearance
Aspect menu-item
HTTP status 200
Load time 0.385 s
Memory usage 4.23 MiB
JS errors None
Resource errors None

Age Gate → Advanced

Page screenshot: Age Gate → Advanced
URL /wp-admin/admin.php?page=age-gate-advanced
Aspect menu-item
HTTP status 200
Load time 0.393 s
Memory usage 4.25 MiB
JS errors None
Resource errors None

Age Gate → Access

Page screenshot: Age Gate → Access
URL /wp-admin/admin.php?page=age-gate-access
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Age Gate → Version 3

Page screenshot: Age Gate → Version 3
URL /wp-admin/admin.php?page=age-gate-v3
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 4.05 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.238 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.128 s
Memory usage 6.01 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.108 s
Memory usage 5.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.331 s0.299 s-0.032 s3.72 MiB4.15 MiB+ 434.87 KiB
/wp-admin/edit.php0.193 s0.241 s+0.048 s3.76 MiB4.22 MiB+ 470.37 KiB
/wp-admin/post-new.php0.939 s1.098 s+0.159 s5.55 MiB6.01 MiB+ 471.18 KiB
/wp-admin/upload.php0.425 s0.516 s+0.091 s3.69 MiB4.11 MiB+ 433.7 KiB
/wp-admin/options-writing.php0.144 s0.160 s+0.016 s3.62 MiB4.02 MiB+ 412.98 KiB
/wp-admin/media-new.php0.470 s0.179 s-0.291 s3.66 MiB4.09 MiB+ 433.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.274 s0.202 s-0.072 s3.69 MiB4.15 MiB+ 467.58 KiB
/wp-admin/post-new.php?post_type=page0.899 s0.914 s+0.015 s5.54 MiB5.99 MiB+ 462.32 KiB
/wp-admin/options-discussion.php0.222 s0.206 s-0.016 s3.6 MiB4.02 MiB+ 433.87 KiB
/wp-admin/edit-comments.php0.213 s0.206 s-0.007 s3.7 MiB4.12 MiB+ 433.76 KiB
/0.268 s0.232 s-0.036 s3.6 MiB3.8 MiB+ 197.42 KiB
Average 0.398 s0.387 s-0.011 s4.01 MiB4.42 MiB+ 422.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.

PHP
Language % Lines of code Comment lines Files
PHP99.7%8,1071,95869
JavaScript0.2%181812
CSS0.0%404
Total 8,129 1,976 85

PHP Code Analysis | More results »

Lines of code 5,314
Total complexity 1,178
Median class complexity 20.0
Median method complexity 3.0
Most complex class Parsedown
Most complex function Age_Gate_Public::is_restricted()
Classes 31
Methods 299
Functions 7

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 8

Meta Boxes

{
    "post": {
        "agegate": {
            "title": "Age Gate Options",
            "context": "side"
        }
    },
    "page": {
        "agegate": {
            "title": "Age Gate Options",
            "context": "side"
        }
    },
    "attachment": {
        "agegate": {
            "title": "Age Gate Options",
            "context": "side"
        }
    }
}

Capabilities 8

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Age Gate Admin Menus and Meta Boxes