Age Gate 3.0.3

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.91 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=3d3e5e51d0
Aspect after-activation
HTTP status 200
Load time 0.524 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.747 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.605 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.327 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.430 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.381 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.331 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.408 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.460 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.403 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 1.085 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 1.122 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.376 s0.323 s-0.053 s3.72 MiB4.14 MiB+ 425.84 KiB
/wp-admin/edit.php0.206 s0.351 s+0.145 s3.76 MiB4.3 MiB+ 560.32 KiB
/wp-admin/post-new.php1.038 s1.379 s+0.341 s5.55 MiB6.01 MiB+ 468.73 KiB
/wp-admin/upload.php0.512 s0.555 s+0.043 s3.69 MiB4.1 MiB+ 425.04 KiB
/wp-admin/options-writing.php0.164 s0.197 s+0.033 s3.62 MiB4.08 MiB+ 470.2 KiB
/wp-admin/media-new.php0.440 s0.236 s-0.204 s3.66 MiB4.08 MiB+ 425.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.324 s+0.125 s3.69 MiB4.17 MiB+ 490.49 KiB
/wp-admin/post-new.php?post_type=page1.350 s1.042 s-0.308 s5.54 MiB5.99 MiB+ 459.19 KiB
/wp-admin/options-discussion.php0.228 s0.281 s+0.053 s3.6 MiB4.08 MiB+ 491.09 KiB
/wp-admin/edit-comments.php0.239 s0.231 s-0.008 s3.7 MiB4.11 MiB+ 425.47 KiB
/0.315 s0.350 s+0.035 s3.6 MiB4.05 MiB+ 461.12 KiB
Average 0.461 s0.479 s+0.018 s4.01 MiB4.46 MiB+ 463.91 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.3%4,957317117
JavaScript18.9%1,4386132
Sass15.6%1,1858357
Markdown0.1%1001
Total 7,590 461 207

PHP Code Analysis | More results »

Lines of code 4,122
Total complexity 602
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