Age Gate 3.1.0

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.026 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=c9f79c70ec
Aspect after-activation
HTTP status 200
Load time 0.347 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.465 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.518 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.299 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.322 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.309 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.292 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.287 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.380 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.389 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.625 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.650 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.293 s0.436 s+0.143 s3.05 MiB3.28 MiB+ 244 KiB
/wp-admin/edit.php0.207 s0.339 s+0.132 s3.07 MiB3.42 MiB+ 352.54 KiB
/wp-admin/post-new.php0.869 s0.906 s+0.037 s4.97 MiB5.24 MiB+ 281.8 KiB
/wp-admin/upload.php0.565 s0.294 s-0.271 s2.99 MiB3.21 MiB+ 222.33 KiB
/wp-admin/options-writing.php0.181 s0.166 s-0.015 s2.99 MiB3.19 MiB+ 210.23 KiB
/wp-admin/media-new.php0.299 s0.245 s-0.054 s2.97 MiB3.2 MiB+ 234.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.313 s+0.120 s2.98 MiB3.28 MiB+ 310.17 KiB
/wp-admin/post-new.php?post_type=page0.644 s0.777 s+0.133 s4.96 MiB5.23 MiB+ 272.64 KiB
/wp-admin/options-discussion.php0.218 s0.353 s+0.135 s2.97 MiB3.19 MiB+ 224.38 KiB
/wp-admin/edit-comments.php0.220 s0.226 s+0.006 s3 MiB3.24 MiB+ 241.9 KiB
/0.402 s0.320 s-0.082 s2.94 MiB3.33 MiB+ 391.59 KiB
Average 0.372 s0.398 s+0.026 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.7%1,2376222
SVG0.4%2901
Markdown0.1%1001
Total 7,875 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