Age Gate 2.20.2

Does Age Gate work with WordPress 5.9.3 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: 410.18 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 version5.9.3
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 9

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=298f9b2a4d
Aspect after-activation
HTTP status 200
Load time 0.578 s
Memory usage 3.71 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.348 s
Memory usage 3.74 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.689 s
Memory usage 3.73 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.384 s
Memory usage 3.79 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.396 s
Memory usage 3.87 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.251 s
Memory usage 3.73 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.287 s
Memory usage 3.71 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 0.955 s
Memory usage 6.08 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 0.800 s
Memory usage 6.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.263 s-0.089 s3.37 MiB3.78 MiB+ 420.46 KiB
/wp-admin/edit.php0.213 s0.216 s+0.003 s3.4 MiB3.85 MiB+ 457.96 KiB
/wp-admin/post-new.php0.864 s1.065 s+0.201 s5.65 MiB6.08 MiB+ 432.77 KiB
/wp-admin/upload.php0.395 s0.496 s+0.101 s3.25 MiB3.67 MiB+ 428.16 KiB
/wp-admin/options-writing.php0.307 s0.170 s-0.137 s3.24 MiB3.64 MiB+ 411.38 KiB
/wp-admin/media-new.php0.310 s0.197 s-0.113 s3.23 MiB3.64 MiB+ 428.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.201 s+0.013 s3.27 MiB3.71 MiB+ 453.17 KiB
/wp-admin/post-new.php?post_type=page0.748 s0.819 s+0.071 s5.65 MiB6.07 MiB+ 427.91 KiB
/wp-admin/options-discussion.php0.233 s0.256 s+0.023 s3.22 MiB3.64 MiB+ 428.02 KiB
/wp-admin/edit-comments.php0.221 s0.208 s-0.013 s3.27 MiB3.68 MiB+ 419.35 KiB
/0.309 s0.254 s-0.055 s3.4 MiB3.6 MiB+ 204.45 KiB
Average 0.376 s0.377 s+0.000 s3.72 MiB4.12 MiB+ 410.18 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,0851,96269
JavaScript0.2%181812
CSS0.0%404
Total 8,107 1,980 85

PHP Code Analysis | More results »

Lines of code 5,299
Total complexity 1,176
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