A2 Optimized WP 2.1.4.5

Does A2 Optimized WP work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
4PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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.

Environment
WordPress version6.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 80,000+
WordPress.org page https://wordpress.org/plugins/a2-optimized-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=a2-optimized-wp%2Fa2-optimized.php&plugin_status=all&paged=1&s&_wpnonce=c492a5a3f1
Aspect after-activation
HTTP status 200
Load time 0.367 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

A2 Optimized

Page screenshot: A2 Optimized
URL /wp-admin/admin.php?page=A2_Optimized_Plugin_admin
Aspect menu-item
HTTP status 200
Load time 0.641 s
Memory usage 4.12 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.254 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.315 s
Memory usage 3.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.368 s0.303 s-0.065 s3.72 MiB3.86 MiB+ 142.2 KiB
/wp-admin/edit.php0.200 s0.208 s+0.008 s3.75 MiB3.89 MiB+ 137.98 KiB
/wp-admin/post-new.php0.992 s1.280 s+0.288 s5.53 MiB5.68 MiB+ 146.88 KiB
/wp-admin/upload.php0.444 s0.372 s-0.072 s3.68 MiB3.81 MiB+ 137.17 KiB
/wp-admin/options-writing.php0.283 s0.153 s-0.130 s3.61 MiB3.73 MiB+ 117.48 KiB
/wp-admin/media-new.php0.399 s0.209 s-0.190 s3.66 MiB3.79 MiB+ 137.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.196 s-0.009 s3.68 MiB3.82 MiB+ 138.25 KiB
/wp-admin/post-new.php?post_type=page0.913 s0.968 s+0.055 s5.53 MiB5.66 MiB+ 138.47 KiB
/wp-admin/options-discussion.php0.250 s0.365 s+0.115 s3.59 MiB3.73 MiB+ 137.97 KiB
/wp-admin/edit-comments.php0.235 s0.254 s+0.019 s3.69 MiB3.83 MiB+ 137.9 KiB
/0.274 s0.221 s-0.053 s3.55 MiB3.58 MiB+ 33.72 KiB
Average 0.415 s0.412 s-0.003 s4 MiB4.12 MiB+ 127.76 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
Language % Lines of code Comment lines Files
PHP89.0%6,5231,72914
JSON5.3%38701
SVG3.9%28801
CSS1.7%12201
JavaScript0.2%1201
Total 7,332 1,729 18

PHP Code Analysis | More results »

Lines of code 6,586
Total complexity 1,272
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

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 2

Meta Boxes

{
    "dashboard": {
        "a2_optimized": {
            "title": "",
            "context": "normal"
        },
        "a2_optimized_kb": {
            "title": "Have any questions? Search the A2 Hosting Knowledge Base for answers.",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[13-Jun-2022 22:25:40 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
[13-Jun-2022 22:25:40 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
[13-Jun-2022 22:25:40 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
[13-Jun-2022 22:25:40 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
See also: All tests for this plugin, How to Hide A2 Optimized WP Admin Menus