AMP 2.2.4

Does AMP work with WordPress 6.0 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: 834.21 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 500,000+
WordPress.org page https://wordpress.org/plugins/amp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=amp%2Famp.php&plugin_status=all&paged=1&s&_wpnonce=9fc89d2acb
Aspect after-activation
HTTP status 200
Load time 0.794 s
Memory usage 8.85 MiB
JS errors None
Resource errors None

AMP

Page screenshot: AMP
URL /wp-admin/admin.php?page=amp-options
Aspect menu-item
HTTP status 200
Load time 2.722 s
Memory usage 6.26 MiB
JS errors None
Resource errors None

AMP → Support

Page screenshot: AMP → Support
URL /wp-admin/admin.php?page=amp-support
Aspect menu-item
HTTP status 200
Load time 0.701 s
Memory usage 5.85 MiB
JS errors None
Resource errors None

AMP → Validated URLs

Page screenshot: AMP → Validated URLs
URL /wp-admin/edit.php?post_type=amp_validated_url
Aspect menu-item
HTTP status 200
Load time 0.342 s
Memory usage 8.73 MiB
JS errors None
Resource errors None

AMP → Error Index

Page screenshot: AMP → Error Index
URL /wp-admin/edit-tags.php?taxonomy=amp_validation_error&post_type=amp_validated_url
Aspect menu-item
HTTP status 200
Load time 0.268 s
Memory usage 5.84 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.338 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.502 s0.290 s-0.212 s3.71 MiB4.51 MiB+ 819.83 KiB
/wp-admin/edit.php0.230 s0.213 s-0.017 s3.75 MiB4.62 MiB+ 891.8 KiB
/wp-admin/post-new.php1.931 s1.321 s-0.610 s5.52 MiB6.44 MiB+ 937.19 KiB
/wp-admin/upload.php0.464 s0.540 s+0.076 s3.68 MiB4.48 MiB+ 814.13 KiB
/wp-admin/options-writing.php0.315 s0.204 s-0.111 s3.61 MiB4.45 MiB+ 858.95 KiB
/wp-admin/media-new.php0.296 s0.223 s-0.073 s3.66 MiB4.46 MiB+ 815.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.215 s+0.018 s3.68 MiB4.48 MiB+ 816.56 KiB
/wp-admin/post-new.php?post_type=page0.889 s0.939 s+0.050 s5.53 MiB6.43 MiB+ 923.47 KiB
/wp-admin/options-discussion.php0.285 s0.326 s+0.041 s3.59 MiB4.45 MiB+ 879.13 KiB
/wp-admin/edit-comments.php0.237 s0.254 s+0.017 s3.69 MiB4.49 MiB+ 815.98 KiB
/0.298 s0.239 s-0.059 s3.6 MiB4.19 MiB+ 603.47 KiB
Average 0.513 s0.433 s-0.080 s4 MiB4.82 MiB+ 834.21 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
PHP99.5%61,42122,349265
JavaScript0.2%1327929
SVG0.2%100017
CSS0.1%46040
Total 61,699 22,428 351

PHP Code Analysis | More results »

Lines of code 58,625
Total complexity 7,212
Median class complexity 15.0
Median method complexity 2.0
Most complex class AMP_Validation_Error_Taxonomy
Most complex function AMP_Validation_Error_Taxonomy::get_error_title_from_code()
Classes 182
Methods 1,500
Functions 91

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 1

Custom Post Types 1

ID Name
amp_validated_urlAMP Validated URLs

Meta Boxes

{
    "amp_validated_url": {
        "amp_validation_status": {
            "title": "Status",
            "context": "side"
        },
        "amp_stylesheets": {
            "title": "Stylesheets",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide AMP Admin Menus and Meta Boxes