JM Twitter Cards 9.4

Does JM Twitter Cards 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: 148.85 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 8,000+
WordPress.org page https://wordpress.org/plugins/jm-twitter-cards/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=jm-twitter-cards%2Fjm-twitter-cards.php&plugin_status=all&paged=1&s&_wpnonce=16d524a3ce
Aspect after-activation
HTTP status 200 OK
Load time 0.153 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

JM Twitter Cards

Page screenshot: JM Twitter Cards
URL /wp-admin/admin.php?page=jm_tc
Aspect menu-item
HTTP status 200 OK
Load time 0.047 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

JM Twitter Cards → Options

Page screenshot: JM Twitter Cards → Options
URL /wp-admin/admin.php?page=jm_tc
Aspect menu-item-tab
HTTP status 200 OK
Load time 0.148 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

JM Twitter Cards → Custom Post types

Page screenshot: JM Twitter Cards → Custom Post types
URL /wp-admin/admin.php?page=jm_tc
Aspect menu-item-tab
HTTP status 200 OK
Load time 0.164 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

JM Twitter Cards → Import / Export

Page screenshot: JM Twitter Cards → Import / Export
URL /wp-admin/admin.php?page=jm_tc_import_export
Aspect menu-item
HTTP status 200 OK
Load time 0.028 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

JM Twitter Cards → About

Page screenshot: JM Twitter Cards → About
URL /wp-admin/admin.php?page=jm_tc_about
Aspect menu-item
HTTP status 200 OK
Load time 0.838 s
Memory usage 3.44 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.071 s
Memory usage 3 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.294 s
Memory usage 5.11 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": 1773,
                "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.246 s
Memory usage 5.08 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": 1757,
                "function": ""
            }
        ]
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.146 s0.130 s-0.016 s3.22 MiB3.39 MiB+ 175.38 KiB
/wp-admin/edit.php0.117 s0.057 s-0.060 s3.25 MiB3.44 MiB+ 192.09 KiB
/wp-admin/post-new.php0.521 s0.262 s-0.259 s4.92 MiB5.11 MiB+ 193.2 KiB
/wp-admin/upload.php0.038 s0.039 s+0.001 s3.15 MiB3.26 MiB+ 111.26 KiB
/wp-admin/options-writing.php0.088 s0.043 s-0.045 s3.14 MiB3.25 MiB+ 111.21 KiB
/wp-admin/media-new.php0.045 s0.087 s+0.042 s3.07 MiB3.24 MiB+ 175.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.117 s0.112 s-0.005 s3.17 MiB3.28 MiB+ 111.26 KiB
/wp-admin/post-new.php?post_type=page0.499 s0.332 s-0.167 s4.9 MiB5.08 MiB+ 184.45 KiB
/wp-admin/options-discussion.php0.099 s0.034 s-0.065 s3.07 MiB3.24 MiB+ 175.21 KiB
/wp-admin/edit-comments.php0.073 s0.089 s+0.016 s3.18 MiB3.35 MiB+ 175.3 KiB
/0.085 s0.082 s-0.003 s2.93 MiB2.96 MiB+ 32.79 KiB
Average 0.166 s0.115 s-0.051 s3.45 MiB3.6 MiB+ 148.85 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 2

Meta Boxes

{
    "post": {
        "jm_tc_metabox": {
            "title": "Twitter Cards",
            "context": "advanced"
        }
    },
    "page": {
        "jm_tc_metabox": {
            "title": "Twitter Cards",
            "context": "advanced"
        }
    },
    "attachment": {
        "jm_tc_metabox": {
            "title": "Twitter Cards",
            "context": "advanced"
        }
    }
}

PHP Error Log 4 lines

[10-Dec-2018 07:17:44 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 07:17:46 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 07:17:47 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 07:17:48 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 JM Twitter Cards Admin Menus