Does A2 Optimized WP work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .
| 4 | PHP notices | 
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors | 
							Memory usage: 127.76 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.
														
| WordPress version | 6.0 | 
|---|---|
| PHP version | 7.4.8 | 
| MySQL version | 8.0.21 | 
| PHP memory limit | 256M | 
| Last updated | |
|---|---|
| Active installs | 70,000+ | 
| WordPress.org page | https://wordpress.org/plugins/a2-optimized-wp/ | 
| Badges | 
									 | 
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s | 
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=a2-optimized-wp%2Fa2-optimized.php&plugin_status=all&paged=1&s&_wpnonce=782a46361d | 
| Aspect | after-activation | 
| HTTP status | 200 | 
| Load time | 0.376 s | 
| Memory usage | 3.82 MiB | 
| JS errors | None | 
| Resource errors | None | 
| URL | /wp-admin/admin.php?page=A2_Optimized_Plugin_admin | 
|---|---|
| Aspect | menu-item | 
| HTTP status | 200 | 
| Load time | 0.688 s | 
| Memory usage | 4.12 MiB | 
| JS errors | None | 
| Resource errors | None | 
| URL | / | 
|---|---|
| Aspect | front-page | 
| HTTP status | 200 | 
| Load time | 0.316 s | 
| Memory usage | 3.58 MiB | 
| JS errors | None | 
| Resource errors | None | 
| URL | /wp-admin/index.php | 
|---|---|
| Aspect | new-meta-boxes | 
| HTTP status | 200 | 
| Load time | 0.278 s | 
| Memory usage | 3.86 MiB | 
| JS errors | None | 
| Resource errors | None | 
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.360 s | 0.269 s | -0.091 s | 3.72 MiB | 3.86 MiB | + 142.2 KiB | 
| /wp-admin/edit.php | 0.193 s | 0.206 s | +0.013 s | 3.75 MiB | 3.89 MiB | + 137.98 KiB | 
| /wp-admin/post-new.php | 0.791 s | 0.996 s | +0.205 s | 5.53 MiB | 5.68 MiB | + 146.88 KiB | 
| /wp-admin/upload.php | 0.400 s | 0.347 s | -0.053 s | 3.68 MiB | 3.81 MiB | + 137.17 KiB | 
| /wp-admin/options-writing.php | 0.293 s | 0.156 s | -0.137 s | 3.61 MiB | 3.73 MiB | + 117.48 KiB | 
| /wp-admin/media-new.php | 0.363 s | 0.202 s | -0.161 s | 3.66 MiB | 3.79 MiB | + 137.34 KiB | 
| /wp-admin/edit-tags.php?taxonomy=category | 0.201 s | 0.192 s | -0.009 s | 3.68 MiB | 3.82 MiB | + 138.25 KiB | 
| /wp-admin/post-new.php?post_type=page | 0.629 s | 0.629 s | +0.000 s | 5.53 MiB | 5.66 MiB | + 138.47 KiB | 
| /wp-admin/options-discussion.php | 0.253 s | 0.389 s | +0.136 s | 3.59 MiB | 3.73 MiB | + 137.97 KiB | 
| /wp-admin/edit-comments.php | 0.231 s | 0.244 s | +0.013 s | 3.69 MiB | 3.83 MiB | + 137.9 KiB | 
| / | 0.292 s | 0.252 s | -0.040 s | 3.55 MiB | 3.58 MiB | + 33.72 KiB | 
| Average | 0.364 s | 0.353 s | -0.011 s | 4 MiB | 4.12 MiB | + 127.76 KiB | 
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 89.0% | 6,525 | 1,731 | 14 | |
| JSON | 5.3% | 387 | 0 | 1 | |
| SVG | 3.9% | 288 | 0 | 1 | |
| CSS | 1.7% | 122 | 0 | 1 | |
| JavaScript | 0.2% | 12 | 0 | 1 | |
| Total | 7,334 | 1,731 | 18 | ||
| Lines of code | 6,578 | 
|---|---|
| Total complexity | 1,270 | 
| Median class complexity | 83.0 | 
| Median method complexity | 2.0 | 
| Most complex class | A2_Optimized_OptionsManager | 
| Most complex function | A2_Optimized_Optimizations::get_public_optimizations() | 
| Classes | 13 | 
|---|---|
| Methods | 333 | 
| Functions | 14 | 
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.
wp_options 2{
    "dashboard": {
        "a2_optimized": {
            "title": "",
            "context": "normal"
        },
        "a2_optimized_kb": {
            "title": "Have any questions? Search the A2 Hosting Knowledge Base for answers.",
            "context": "normal"
        }
    }
}[01-Jun-2022 19:48:00 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 35
[01-Jun-2022 19:48:00 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 337
[01-Jun-2022 19:48:00 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 390
[01-Jun-2022 19:48:00 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/a2-optimized-wp/A2_Optimized_Optimizations.php on line 414