Ad Inserter 2.4.2

Does Ad Inserter 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: 449.83 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 300,000+
WordPress.org page https://wordpress.org/plugins/ad-inserter/
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?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=ad-inserter%2Fad-inserter.php&plugin_status=all&paged=1&s&_wpnonce=12c7833c63
Aspect after-activation
HTTP status 200 OK
Load time 0.127 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Settings → Ad Inserter

Page screenshot: Settings  → Ad Inserter
URL /wp-admin/options-general.php?page=ad-inserter.php
Aspect menu-item
HTTP status 200 OK
Load time 0.394 s
Memory usage 3.72 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.800 s
Memory usage 3.34 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.257 s
Memory usage 5.36 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": 1910,
                "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.274 s
Memory usage 5.33 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": 1894,
                "function": ""
            }
        ]
    }
]
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200 OK
Load time 0.066 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.132 s0.066 s-0.066 s3.22 MiB3.65 MiB+ 438.73 KiB
/wp-admin/edit.php0.118 s0.077 s-0.041 s3.25 MiB3.68 MiB+ 438.86 KiB
/wp-admin/post-new.php0.527 s0.301 s-0.226 s4.92 MiB5.36 MiB+ 447.31 KiB
/wp-admin/upload.php0.037 s0.078 s+0.041 s3.15 MiB3.58 MiB+ 437.14 KiB
/wp-admin/options-writing.php0.083 s0.069 s-0.014 s3.14 MiB3.57 MiB+ 437.87 KiB
/wp-admin/media-new.php0.041 s0.116 s+0.075 s3.07 MiB3.56 MiB+ 501.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.098 s0.127 s+0.029 s3.17 MiB3.6 MiB+ 437.68 KiB
/wp-admin/post-new.php?post_type=page0.542 s0.323 s-0.219 s4.9 MiB5.33 MiB+ 440.07 KiB
/wp-admin/options-discussion.php0.109 s0.147 s+0.038 s3.07 MiB3.56 MiB+ 502.19 KiB
/wp-admin/edit-comments.php0.081 s0.083 s+0.002 s3.18 MiB3.6 MiB+ 435.8 KiB
/0.098 s0.102 s+0.004 s2.93 MiB3.35 MiB+ 430.59 KiB
Average 0.170 s0.135 s-0.034 s3.45 MiB3.89 MiB+ 449.83 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 3

Sidebar Widgets 1

ID Name
ai_widgetAd Inserter

Meta Boxes

{
    "post": {
        "adinserter_sectionid": {
            "title": "Ad Inserter Individual Exceptions",
            "context": "advanced"
        }
    },
    "page": {
        "adinserter_sectionid": {
            "title": "Ad Inserter Individual Exceptions",
            "context": "advanced"
        }
    }
}

PHP Error Log 4 lines

[10-Dec-2018 00:17:08 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:17:10 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:17:11 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:17:12 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 the "Ad Inserter" Admin Menu