AMP 1.0.0

Does AMP work with WordPress 5.0 and PHP 7.0.16? A smoke test was performed on .

Summary

Errors
4WordPress deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 402.58 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 version5.0
PHP version7.0.16
MySQL version5.7.17
PHP memory limit256M
Plugin Info
Last updated
Active installs 400,000+
WordPress.org page https://wordpress.org/plugins/amp/
Badges

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?activate=true&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=7a38ac7680
Aspect after-activation
HTTP status 200 OK
Load time 0.228 s
Memory usage 6.28 MiB
JS errors None
Resource errors None

Appearance → AMP

Page screenshot: Appearance → AMP
URL /wp-admin/customize.php?autofocus[panel]=amp_panel&url=http%3A%2F%2F192.168.8.152%2F2017%2F08%2F12%2Fhello-world%2Famp%2F&
Aspect menu-item
HTTP status 200 OK
Load time 0.193 s
Memory usage 5.31 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 OK
Load time 0.088 s
Memory usage 4.05 MiB
JS errors None
Resource errors None

AMP → Analytics

Page screenshot: AMP → Analytics
URL /wp-admin/admin.php?page=amp-analytics-options
Aspect menu-item
HTTP status 200 OK
Load time 0.109 s
Memory usage 3.53 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 OK
Load time 0.077 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.123 s0.046 s-0.077 s3.22 MiB3.6 MiB+ 386.43 KiB
/wp-admin/edit.php0.129 s0.131 s+0.002 s3.25 MiB3.65 MiB+ 413.38 KiB
/wp-admin/post-new.php0.528 s0.298 s-0.230 s4.92 MiB5.35 MiB+ 439.95 KiB
/wp-admin/upload.php0.034 s0.050 s+0.016 s3.15 MiB3.54 MiB+ 404.27 KiB
/wp-admin/options-writing.php0.077 s0.056 s-0.021 s3.14 MiB3.54 MiB+ 405.67 KiB
/wp-admin/media-new.php0.051 s0.131 s+0.080 s3.07 MiB3.47 MiB+ 406.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.116 s0.118 s+0.002 s3.17 MiB3.58 MiB+ 417.73 KiB
/wp-admin/post-new.php?post_type=page0.536 s0.295 s-0.241 s4.9 MiB5.33 MiB+ 430.68 KiB
/wp-admin/options-discussion.php0.101 s0.138 s+0.037 s3.07 MiB3.47 MiB+ 405.66 KiB
/wp-admin/edit-comments.php0.085 s0.100 s+0.015 s3.18 MiB3.62 MiB+ 456.73 KiB
/0.082 s0.075 s-0.007 s2.93 MiB3.18 MiB+ 261.27 KiB
Average 0.169 s0.131 s-0.039 s3.46 MiB3.85 MiB+ 402.58 KiB

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"
        }
    }
}

PHP Error Log 4 lines

[10-Dec-2018 00:10:03 UTC] PHP Notice:  edit_form_after_title is <strong>deprecated</strong> since version 5.0.0! Use block_editor_meta_box_hidden_fields instead. This action is still supported in the classic editor, but is deprecated in the block editor. in /wp-includes/functions.php on line 4112
[10-Dec-2018 00:10:03 UTC] PHP Notice:  edit_form_advanced is <strong>deprecated</strong> since version 5.0.0! Use block_editor_meta_box_hidden_fields instead. This action is still supported in the classic editor, but is deprecated in the block editor. in /wp-includes/functions.php on line 4112
[10-Dec-2018 00:10:05 UTC] PHP Notice:  edit_form_after_title is <strong>deprecated</strong> since version 5.0.0! Use block_editor_meta_box_hidden_fields instead. This action is still supported in the classic editor, but is deprecated in the block editor. in /wp-includes/functions.php on line 4112
[10-Dec-2018 00:10:05 UTC] PHP Notice:  edit_form_advanced is <strong>deprecated</strong> since version 5.0.0! Use block_editor_meta_box_hidden_fields instead. This action is still supported in the classic editor, but is deprecated in the block editor. in /wp-includes/functions.php on line 4112
See also: All tests for this plugin, How to Hide AMP Admin Menus and Meta Boxes