Age Gate 2.16.4

Does Age Gate work with WordPress 5.8 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: 395.62 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.098 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
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=2b6eebb532
Aspect after-activation
HTTP status 200
Load time 1.797 s
Memory usage 3.48 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.199 s
Memory usage 3.5 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.603 s
Memory usage 3.49 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.316 s
Memory usage 3.55 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.385 s
Memory usage 3.57 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.199 s
Memory usage 3.49 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.310 s
Memory usage 3.12 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.064 s
Memory usage 5.67 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.049 s
Memory usage 5.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.603 s+0.265 s3.08 MiB3.48 MiB+ 411.05 KiB
/wp-admin/edit.php0.174 s0.248 s+0.074 s3.11 MiB3.55 MiB+ 448.73 KiB
/wp-admin/post-new.php1.110 s1.344 s+0.234 s5.27 MiB5.68 MiB+ 420.29 KiB
/wp-admin/upload.php0.559 s0.551 s-0.008 s3.03 MiB3.43 MiB+ 411.37 KiB
/wp-admin/options-writing.php0.170 s0.222 s+0.052 s3.02 MiB3.41 MiB+ 397.22 KiB
/wp-admin/media-new.php0.261 s0.173 s-0.088 s3.01 MiB3.41 MiB+ 411.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.205 s+0.012 s3.04 MiB3.47 MiB+ 441.59 KiB
/wp-admin/post-new.php?post_type=page0.984 s1.369 s+0.385 s5.26 MiB5.67 MiB+ 419.43 KiB
/wp-admin/options-discussion.php0.213 s0.322 s+0.109 s3 MiB3.41 MiB+ 413.73 KiB
/wp-admin/edit-comments.php0.204 s0.241 s+0.037 s3.04 MiB3.44 MiB+ 411.19 KiB
/0.294 s0.297 s+0.003 s2.96 MiB3.12 MiB+ 165.39 KiB
Average 0.409 s0.507 s+0.098 s3.44 MiB3.82 MiB+ 395.62 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.8%7,7091,93968
JavaScript0.2%141210
CSS0.1%404
Total 7,727 1,951 82

PHP Code Analysis | More results »

Lines of code 5,065
Total complexity 1,135
Median class complexity 22.0
Median method complexity 3.0
Most complex class Parsedown
Most complex function Age_Gate_Public::is_restricted()
Classes 30
Methods 293
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