AMP for WP – Accelerated Mobile Pages 0.9.97.22

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

Summary

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

Memory usage: 3.21 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.0
PHP version7.0.16
MySQL version5.7.17
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/accelerated-mobile-pages/
Badges

Get badge code

Pages 14

Welcome To AMPforWP plugin ‹ Test site — WordPress

Page screenshot: Welcome To AMPforWP plugin ‹ Test site — WordPress
URL /wp-admin/admin.php?page=ampforwp-welcome-page
Requested URL /wp-admin/plugins.php?action=activate&plugin=accelerated-mobile-pages%2Faccelerated-moblie-pages.php&plugin_status=all&paged=1&s&_wpnonce=9c3c3141ef
Aspect after-activation
HTTP status 200 OK
Load time 0.336 s
Memory usage 6.84 MiB
JS errors None
Resource errors None

AMP

Page screenshot: AMP
URL /wp-admin/admin.php?page=amp_options&tab=1
Aspect menu-item
HTTP status 200 OK
Load time 0.588 s
Memory usage 8.56 MiB
JS errors None
Resource errors None

AMP → Design

Page screenshot: AMP → Design
URL /wp-admin/admin.php?page=amp_options&tab=19
Aspect menu-item
HTTP status 200 OK
Load time 0.237 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Extensions

Page screenshot: AMP → Extensions
URL /wp-admin/admin.php?page=amp_options&tab=30
Aspect menu-item
HTTP status 200 OK
Load time 0.630 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Free vs Pro

Page screenshot: AMP → Free vs Pro
URL /wp-admin/admin.php?page=amp_options&tab=31
Aspect menu-item
HTTP status 200 OK
Load time 0.445 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Fix AMP Errors

Page screenshot: AMP → Fix AMP Errors
URL /wp-admin/admin.php?page=amp_options&tab=32
Aspect menu-item
HTTP status 200 OK
Load time 0.540 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Plugins Manager

Page screenshot: AMP → Plugins Manager
URL /wp-admin/admin.php?page=amp_options&tab=33
Aspect menu-item
HTTP status 200 OK
Load time 0.406 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Send Feedback

Page screenshot: AMP → Send Feedback
URL /wp-admin/admin.php?page=amp_options&tab=34
Aspect menu-item
HTTP status 200 OK
Load time 0.415 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Options Object

Page screenshot: AMP → Options Object
URL /wp-admin/admin.php?page=amp_options&tab=35
Aspect menu-item
HTTP status 200 OK
Load time 0.281 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Import / Export

Page screenshot: AMP → Import / Export
URL /wp-admin/admin.php?page=amp_options&tab=36
Aspect menu-item
HTTP status 200 OK
Load time 0.273 s
Memory usage 8.49 MiB
JS errors None
Resource errors None

AMP → Welcome to AMP

Page screenshot: AMP → Welcome to AMP
URL /wp-admin/admin.php?page=ampforwp-welcome-page
Aspect menu-item
HTTP status 200 OK
Load time 0.101 s
Memory usage 6.52 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.090 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Edit Post ‹ Test site — WordPress

Page screenshot: Edit Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200 OK
Load time 0.474 s
Memory usage 8.76 MiB
JS errors
[
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.withBlockContentContext')",
        "trace": [
            {
                "file": "/wp-includes/js/dist/editor.min.js?ver=9.0.4",
                "line": 1,
                "function": ""
            },
            {
                "file": "/wp-includes/js/dist/editor.min.js?ver=9.0.4",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-includes/js/dist/editor.min.js?ver=9.0.4",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: Object is not a constructor (evaluating 'Object($.withColors)(\"backgroundColor\",{textColor:\"color\"})')",
        "trace": [
            {
                "file": "/wp-includes/js/dist/block-library.min.js?ver=2.2.9",
                "line": 1,
                "function": ""
            },
            {
                "file": "/wp-includes/js/dist/block-library.min.js?ver=2.2.9",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-includes/js/dist/block-library.min.js?ver=2.2.9",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 's.registerCoreBlocks')",
        "trace": [
            {
                "file": "/wp-includes/js/dist/edit-post.min.js?ver=3.1.4",
                "line": 1,
                "function": "Jn"
            },
            {
                "file": "/wp-admin/post-new.php",
                "line": 4313,
                "function": ""
            }
        ]
    }
]
Resource errors None

Edit Page ‹ Test site — WordPress

Page screenshot: Edit Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200 OK
Load time 0.349 s
Memory usage 8.77 MiB
JS errors
[
    {
        "message": "TypeError: undefined is not an object (evaluating 'i.withBlockContentContext')",
        "trace": [
            {
                "file": "/wp-includes/js/dist/editor.min.js?ver=9.0.4",
                "line": 1,
                "function": ""
            },
            {
                "file": "/wp-includes/js/dist/editor.min.js?ver=9.0.4",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-includes/js/dist/editor.min.js?ver=9.0.4",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: Object is not a constructor (evaluating 'Object($.withColors)(\"backgroundColor\",{textColor:\"color\"})')",
        "trace": [
            {
                "file": "/wp-includes/js/dist/block-library.min.js?ver=2.2.9",
                "line": 1,
                "function": ""
            },
            {
                "file": "/wp-includes/js/dist/block-library.min.js?ver=2.2.9",
                "line": 1,
                "function": "n"
            },
            {
                "file": "/wp-includes/js/dist/block-library.min.js?ver=2.2.9",
                "line": 1,
                "function": ""
            }
        ]
    },
    {
        "message": "TypeError: undefined is not an object (evaluating 's.registerCoreBlocks')",
        "trace": [
            {
                "file": "/wp-includes/js/dist/edit-post.min.js?ver=3.1.4",
                "line": 1,
                "function": "Jn"
            },
            {
                "file": "/wp-admin/post-new.php?post_type=page",
                "line": 4297,
                "function": ""
            }
        ]
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.130 s0.170 s+0.040 s3.22 MiB6.58 MiB+ 3.36 MiB
/wp-admin/edit.php0.121 s0.139 s+0.018 s3.25 MiB6.61 MiB+ 3.36 MiB
/wp-admin/post-new.php0.498 s0.455 s-0.043 s4.92 MiB8.76 MiB+ 3.84 MiB
/wp-admin/upload.php0.040 s0.115 s+0.075 s3.15 MiB6.55 MiB+ 3.41 MiB
/wp-admin/options-writing.php0.080 s0.100 s+0.020 s3.14 MiB6.43 MiB+ 3.29 MiB
/wp-admin/media-new.php0.050 s0.129 s+0.079 s3.07 MiB6.42 MiB+ 3.35 MiB
/wp-admin/edit-tags.php?taxonomy=category0.110 s0.176 s+0.066 s3.17 MiB6.53 MiB+ 3.36 MiB
/wp-admin/post-new.php?post_type=page0.444 s0.474 s+0.030 s4.9 MiB8.77 MiB+ 3.86 MiB
/wp-admin/options-discussion.php0.030 s0.097 s+0.067 s3.07 MiB6.43 MiB+ 3.36 MiB
/wp-admin/edit-comments.php0.084 s0.176 s+0.092 s3.18 MiB6.55 MiB+ 3.37 MiB
/0.093 s0.098 s+0.005 s2.93 MiB3.62 MiB+ 714.44 KiB
Average 0.153 s0.194 s+0.041 s3.45 MiB6.66 MiB+ 3.21 MiB

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

Custom Post Types 1

ID Name
amppb_layoutAMP Layouts

Meta Boxes

{
    "post": {
        "ampforwp_title_meta": {
            "title": "Show AMP for Current Page?",
            "context": "side"
        },
        "pagebilder_content": {
            "title": "AMP Page Builder",
            "context": "normal"
        },
        "custom_content_editor": {
            "title": "Custom AMP Editor",
            "context": "normal"
        }
    },
    "page": {
        "custom_content_editor": {
            "title": "Custom AMP Editor",
            "context": "normal"
        },
        "ampforwp_title_meta": {
            "title": "Show AMP for Current Page?",
            "context": "side"
        },
        "pagebilder_content": {
            "title": "AMP Page Builder",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[10-Dec-2018 00:27:49 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:27:52 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:27:54 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:27:55 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 Accelerated Mobile Pages Admin Menus and Meta Boxes