Age Gate 2.19.0

Does Age Gate work with WordPress 5.8.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: 408.27 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.8.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=3a9c1636e9
Aspect after-activation
HTTP status 200
Load time 0.672 s
Memory usage 3.49 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.362 s
Memory usage 3.52 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.716 s
Memory usage 3.51 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.411 s
Memory usage 3.56 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.391 s
Memory usage 3.64 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.244 s
Memory usage 3.5 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.282 s
Memory usage 3.27 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.205 s
Memory usage 5.69 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.020 s
Memory usage 5.68 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.273 s-0.079 s3.08 MiB3.49 MiB+ 421.75 KiB
/wp-admin/edit.php0.200 s0.224 s+0.024 s3.11 MiB3.56 MiB+ 460.35 KiB
/wp-admin/post-new.php0.981 s1.310 s+0.329 s5.27 MiB5.69 MiB+ 431.6 KiB
/wp-admin/upload.php0.456 s0.563 s+0.107 s3.03 MiB3.44 MiB+ 421.45 KiB
/wp-admin/options-writing.php0.159 s0.152 s-0.007 s3.02 MiB3.42 MiB+ 404.8 KiB
/wp-admin/media-new.php0.447 s0.218 s-0.229 s3.01 MiB3.42 MiB+ 421.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.203 s-0.006 s3.04 MiB3.48 MiB+ 452.9 KiB
/wp-admin/post-new.php?post_type=page1.274 s0.967 s-0.307 s5.26 MiB5.68 MiB+ 430.74 KiB
/wp-admin/options-discussion.php0.336 s0.257 s-0.079 s3 MiB3.41 MiB+ 421.3 KiB
/wp-admin/edit-comments.php0.223 s0.198 s-0.025 s3.04 MiB3.45 MiB+ 420.64 KiB
/0.294 s0.250 s-0.044 s2.96 MiB3.16 MiB+ 203.81 KiB
Average 0.448 s0.420 s-0.029 s3.44 MiB3.84 MiB+ 408.27 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,0501,96269
JavaScript0.2%181812
CSS0.0%404
Total 8,072 1,980 85

PHP Code Analysis | More results »

Lines of code 5,280
Total complexity 1,169
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 298
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