Age Gate 2.20.3

Does Age Gate work with WordPress 6.0 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.87 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
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=c0a29bf5b6
Aspect after-activation
HTTP status 200
Load time 0.735 s
Memory usage 4.13 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.359 s
Memory usage 4.11 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.684 s
Memory usage 4.1 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.394 s
Memory usage 4.21 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.409 s
Memory usage 4.23 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.256 s
Memory usage 4.09 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.312 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.034 s
Memory usage 5.96 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.712 s
Memory usage 5.95 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.361 s0.281 s-0.080 s3.72 MiB4.13 MiB+ 420.21 KiB
/wp-admin/edit.php0.189 s0.216 s+0.027 s3.75 MiB4.2 MiB+ 455.4 KiB
/wp-admin/post-new.php0.877 s0.990 s+0.113 s5.53 MiB5.96 MiB+ 436.52 KiB
/wp-admin/upload.php0.464 s0.517 s+0.053 s3.68 MiB4.09 MiB+ 419.04 KiB
/wp-admin/options-writing.php0.359 s0.186 s-0.173 s3.61 MiB4 MiB+ 398.73 KiB
/wp-admin/media-new.php0.327 s0.207 s-0.120 s3.66 MiB4.07 MiB+ 419.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.204 s-0.013 s3.68 MiB4.13 MiB+ 452.92 KiB
/wp-admin/post-new.php?post_type=page0.700 s0.671 s-0.029 s5.53 MiB5.95 MiB+ 427.66 KiB
/wp-admin/options-discussion.php0.262 s0.273 s+0.011 s3.59 MiB4 MiB+ 418.9 KiB
/wp-admin/edit-comments.php0.234 s0.219 s-0.015 s3.69 MiB4.1 MiB+ 419.1 KiB
/0.311 s0.246 s-0.065 s3.55 MiB3.79 MiB+ 251.87 KiB
Average 0.391 s0.365 s-0.026 s4 MiB4.4 MiB+ 410.87 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,0871,96269
JavaScript0.2%181812
CSS0.0%404
Total 8,109 1,980 85

PHP Code Analysis | More results »

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