Age Gate 3.3.0

Does Age Gate work with WordPress 6.4.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: 310.17 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.4.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=f5e1a309b9
Aspect after-activation
HTTP status 200
Load time 0.623 s
Memory usage 3.75 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.525 s
Memory usage 3.69 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.460 s
Memory usage 3.68 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.324 s
Memory usage 3.66 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.312 s
Memory usage 3.68 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.367 s
Memory usage 3.66 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.356 s
Memory usage 3.72 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.387 s
Memory usage 3.66 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.367 s
Memory usage 3.66 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.350 s
Memory usage 3.8 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.569 s
Memory usage 5.77 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.582 s
Memory usage 5.76 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.401 s0.580 s+0.179 s3.38 MiB3.66 MiB+ 290.84 KiB
/wp-admin/edit.php0.227 s0.372 s+0.145 s3.41 MiB3.79 MiB+ 398.12 KiB
/wp-admin/post-new.php1.011 s0.628 s-0.383 s5.46 MiB5.77 MiB+ 324.63 KiB
/wp-admin/upload.php0.785 s0.411 s-0.374 s3.32 MiB3.59 MiB+ 269.08 KiB
/wp-admin/options-writing.php0.215 s0.224 s+0.009 s3.32 MiB3.57 MiB+ 262.75 KiB
/wp-admin/media-new.php0.351 s0.278 s-0.073 s3.29 MiB3.57 MiB+ 282.04 KiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.326 s+0.128 s3.31 MiB3.66 MiB+ 356.61 KiB
/wp-admin/post-new.php?post_type=page0.633 s0.799 s+0.166 s5.45 MiB5.76 MiB+ 319.47 KiB
/wp-admin/options-discussion.php0.259 s0.298 s+0.039 s3.3 MiB3.57 MiB+ 271.91 KiB
/wp-admin/edit-comments.php0.218 s0.233 s+0.015 s3.34 MiB3.6 MiB+ 268.38 KiB
/0.280 s0.287 s+0.007 s3.31 MiB3.66 MiB+ 368.02 KiB
Average 0.416 s0.403 s-0.013 s3.72 MiB4.02 MiB+ 310.17 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.5%5,196314119
Sass18.8%1,5158558
JavaScript16.1%1,3006522
SVG0.4%2901
Markdown0.1%1001
Total 8,050 464 201

PHP Code Analysis | More results »

Lines of code 4,351
Total complexity 629
Median class complexity 7.0
Median method complexity 1.0
Most complex class AgeGate\Update\Activate
Most complex function AgeGate\Admin\Admin::notices()
Classes 51
Methods 207
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