Age Gate 3.1.1

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: 0.028 seconds
The average page load time increased by this amount after activating the plugin.

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=ec2c04af1b
Aspect after-activation
HTTP status 200
Load time 0.362 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.447 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.542 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.319 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.315 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.302 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.256 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.289 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.284 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.345 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.613 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.753 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.303 s0.559 s+0.256 s3.05 MiB3.28 MiB+ 244 KiB
/wp-admin/edit.php0.196 s0.321 s+0.125 s3.07 MiB3.42 MiB+ 352.54 KiB
/wp-admin/post-new.php0.801 s0.902 s+0.101 s4.97 MiB5.24 MiB+ 281.8 KiB
/wp-admin/upload.php0.619 s0.312 s-0.307 s2.99 MiB3.21 MiB+ 222.33 KiB
/wp-admin/options-writing.php0.197 s0.186 s-0.011 s2.99 MiB3.19 MiB+ 210.23 KiB
/wp-admin/media-new.php0.367 s0.247 s-0.120 s2.97 MiB3.2 MiB+ 234.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.298 s+0.098 s2.98 MiB3.28 MiB+ 310.17 KiB
/wp-admin/post-new.php?post_type=page0.644 s0.751 s+0.107 s4.96 MiB5.23 MiB+ 272.64 KiB
/wp-admin/options-discussion.php0.222 s0.281 s+0.059 s2.97 MiB3.19 MiB+ 224.38 KiB
/wp-admin/edit-comments.php0.212 s0.210 s-0.002 s3 MiB3.24 MiB+ 241.9 KiB
/0.294 s0.300 s+0.006 s2.94 MiB3.33 MiB+ 391.59 KiB
Average 0.369 s0.397 s+0.028 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,096312118
Sass19.1%1,5038558
JavaScript15.8%1,2426222
SVG0.4%2901
Markdown0.1%1001
Total 7,880 459 200

PHP Code Analysis | More results »

Lines of code 4,256
Total complexity 618
Median class complexity 8.0
Median method complexity 1.0
Most complex class AgeGate\Update\Migration\Migrate
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