Age Gate 3.0.4

Does Age Gate work with WordPress 6.0.2 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: 463.8 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.0.2
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 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=40df1987ec
Aspect after-activation
HTTP status 200
Load time 0.645 s
Memory usage 4.21 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.627 s
Memory usage 4.19 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.507 s
Memory usage 4.18 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.300 s
Memory usage 4.18 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.442 s
Memory usage 4.18 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.288 s
Memory usage 4.18 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.285 s
Memory usage 4.22 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.265 s
Memory usage 4.18 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.357 s
Memory usage 4.18 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.409 s
Memory usage 4.19 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.677 s
Memory usage 6 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.687 s
Memory usage 5.99 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.346 s0.688 s+0.342 s3.72 MiB4.14 MiB+ 425.84 KiB
/wp-admin/edit.php0.217 s0.377 s+0.160 s3.76 MiB4.3 MiB+ 560.7 KiB
/wp-admin/post-new.php1.343 s0.922 s-0.421 s5.55 MiB6 MiB+ 468.33 KiB
/wp-admin/upload.php0.406 s0.347 s-0.059 s3.69 MiB4.1 MiB+ 425.04 KiB
/wp-admin/options-writing.php0.155 s0.178 s+0.023 s3.62 MiB4.08 MiB+ 470.2 KiB
/wp-admin/media-new.php0.541 s0.219 s-0.322 s3.66 MiB4.08 MiB+ 425.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.232 s0.288 s+0.056 s3.69 MiB4.17 MiB+ 490.09 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.664 s+0.044 s5.54 MiB5.99 MiB+ 458.79 KiB
/wp-admin/options-discussion.php0.225 s0.371 s+0.146 s3.6 MiB4.08 MiB+ 491.09 KiB
/wp-admin/edit-comments.php0.233 s0.239 s+0.006 s3.7 MiB4.11 MiB+ 425.47 KiB
/0.281 s0.354 s+0.073 s3.6 MiB4.05 MiB+ 460.72 KiB
Average 0.418 s0.422 s+0.004 s4.01 MiB4.46 MiB+ 463.8 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
JavaScript
Sass
Language % Lines of code Comment lines Files
PHP65.5%4,971301117
JavaScript18.8%1,4266131
Sass15.6%1,1858357
Markdown0.1%1001
Total 7,592 445 206

PHP Code Analysis | More results »

Lines of code 4,134
Total complexity 606
Median class complexity 9.0
Median method complexity 1.0
Most complex class AgeGate\Update\Migration\Migrate
Most complex function AgeGate\Update\Migration\Migrate::mapSimpleSettings()
Classes 49
Methods 202
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