Age Gate 3.5.1

Does Age Gate work with WordPress 6.6.2 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: 322.28 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.024 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
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=8c1bb79d97
Aspect after-activation
HTTP status 200
Load time 0.306 s
Memory usage 3.9 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.396 s
Memory usage 3.78 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.480 s
Memory usage 3.76 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.251 s
Memory usage 3.76 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.266 s
Memory usage 3.76 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.327 s
Memory usage 3.76 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.347 s
Memory usage 3.81 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.257 s
Memory usage 3.76 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.300 s
Memory usage 3.76 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.305 s
Memory usage 3.88 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.810 s
Memory usage 6.08 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.817 s
Memory usage 6.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.377 s0.259 s-0.118 s3.47 MiB3.76 MiB+ 297.54 KiB
/wp-admin/edit.php0.203 s0.453 s+0.250 s3.54 MiB3.87 MiB+ 345.71 KiB
/wp-admin/post-new.php0.713 s1.135 s+0.422 s5.75 MiB6.08 MiB+ 332.43 KiB
/wp-admin/upload.php0.519 s0.341 s-0.178 s3.49 MiB3.76 MiB+ 274.42 KiB
/wp-admin/options-writing.php0.183 s0.186 s+0.003 s3.41 MiB3.74 MiB+ 337.23 KiB
/wp-admin/media-new.php0.330 s0.243 s-0.087 s3.4 MiB3.74 MiB+ 350.61 KiB
/wp-admin/edit-tags.php?taxonomy=category0.169 s0.271 s+0.102 s3.47 MiB3.78 MiB+ 312.26 KiB
/wp-admin/post-new.php?post_type=page0.901 s0.747 s-0.154 s5.75 MiB6.07 MiB+ 327.27 KiB
/wp-admin/options-discussion.php0.202 s0.288 s+0.086 s3.41 MiB3.74 MiB+ 339.54 KiB
/wp-admin/edit-comments.php0.247 s0.222 s-0.025 s3.49 MiB3.76 MiB+ 274.41 KiB
/0.300 s0.267 s-0.033 s3.4 MiB3.75 MiB+ 353.62 KiB
Average 0.377 s0.401 s+0.024 s3.87 MiB4.19 MiB+ 322.28 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
PHP63.8%5,595358124
Sass18.5%1,6208660
JavaScript17.3%1,5206925
SVG0.3%2901
Markdown0.1%1001
Total 8,774 513 211

PHP Code Analysis | More results »

Lines of code 4,682
Total complexity 674
Median class complexity 8.0
Median method complexity 1.0
Most complex class AgeGate\Admin\Controller\ContentController
Most complex function AgeGate\Admin\Admin::notices()
Classes 54
Methods 222
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