Age Gate 3.1.2

Does Age Gate work with WordPress 6.1.1 and PHP 8.1.12? 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: 271.49 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 12

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=34ce736f51
Aspect after-activation
HTTP status 200
Load time 0.329 s
Memory usage 3.4 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.430 s
Memory usage 3.3 MiB
JS errors None
Resource errors None

Age Gate → Messages

Page screenshot: Age Gate → Messages
URL /wp-admin/admin.php?page=age-gate-message
Aspect menu-item
HTTP status 200
Load time 0.506 s
Memory usage 3.28 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.277 s
Memory usage 3.29 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.291 s
Memory usage 3.29 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.246 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

Age Gate → Content

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

Age Gate → Tools

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

Age Gate → Troubleshooting

Page screenshot: Age Gate → Troubleshooting
URL /wp-admin/admin.php?page=age-gate-troubleshooting
Aspect menu-item
HTTP status 200
Load time 0.355 s
Memory usage 3.28 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.381 s
Memory usage 3.46 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.636 s
Memory usage 5.24 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.570 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.336 s+0.062 s3.05 MiB3.28 MiB+ 244 KiB
/wp-admin/edit.php0.187 s0.305 s+0.118 s3.07 MiB3.42 MiB+ 352.54 KiB
/wp-admin/post-new.php0.763 s0.854 s+0.091 s4.97 MiB5.24 MiB+ 281.8 KiB
/wp-admin/upload.php0.665 s0.247 s-0.418 s2.99 MiB3.21 MiB+ 222.33 KiB
/wp-admin/options-writing.php0.167 s0.162 s-0.005 s2.99 MiB3.19 MiB+ 210.23 KiB
/wp-admin/media-new.php0.261 s0.226 s-0.035 s2.97 MiB3.2 MiB+ 234.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.299 s+0.115 s2.98 MiB3.28 MiB+ 310.17 KiB
/wp-admin/post-new.php?post_type=page0.623 s0.763 s+0.140 s4.96 MiB5.23 MiB+ 272.64 KiB
/wp-admin/options-discussion.php0.203 s0.319 s+0.116 s2.97 MiB3.19 MiB+ 224.38 KiB
/wp-admin/edit-comments.php0.193 s0.204 s+0.011 s3 MiB3.24 MiB+ 241.9 KiB
/0.298 s0.280 s-0.018 s2.94 MiB3.33 MiB+ 391.59 KiB
Average 0.347 s0.363 s+0.016 s3.35 MiB3.62 MiB+ 271.49 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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP64.7%5,109314118
Sass19.0%1,5038558
JavaScript15.7%1,2426222
SVG0.4%2901
Markdown0.1%1001
Total 7,893 461 200

PHP Code Analysis | More results »

Lines of code 4,269
Total complexity 624
Median class complexity 8.0
Median method complexity 1.0
Most complex class AgeGate\Update\Activate
Most complex function AgeGate\Update\Migration\Migrate::mapSimpleSettings()
Classes 50
Methods 205
Functions 19

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 7

Meta Boxes

{
    "post": {
        "age_gate": {
            "title": "Age Gate",
            "context": "side"
        }
    },
    "page": {
        "age_gate": {
            "title": "Age Gate",
            "context": "side"
        }
    }
}

Capabilities 12

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