OptinMonster 2.2.0

Does OptinMonster work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
7PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/optinmonster/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

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=optinmonster%2Foptin-monster-wp-api.php&plugin_status=all&paged=1&s&_wpnonce=35eb6689ed
Aspect after-activation
HTTP status 200
Load time 0.357 s
Memory usage 3.03 MiB
JS errors None
Resource errors None

OptinMonster

Page screenshot: OptinMonster
URL /wp-admin/admin.php?page=optin-monster-dashboard
Aspect menu-item
HTTP status 200
Load time 1.932 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

OptinMonster → Campaigns

Page screenshot: OptinMonster  → Campaigns
URL /wp-admin/admin.php?page=optin-monster-campaigns
Aspect menu-item
HTTP status 200
Load time 1.561 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

OptinMonster → Templates

Page screenshot: OptinMonster  → Templates
URL /wp-admin/admin.php?page=optin-monster-templates&type=popup
Requested URL /wp-admin/admin.php?page=optin-monster-templates
Aspect menu-item
HTTP status 200
Load time 1.054 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

OptinMonster → Subscribers

Page screenshot: OptinMonster  → Subscribers
URL /wp-admin/admin.php?page=optin-monster-monsterleads
Aspect menu-item
HTTP status 200
Load time 1.524 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

OptinMonster → Settings

Page screenshot: OptinMonster  → Settings
URL /wp-admin/admin.php?page=optin-monster-settings
Aspect menu-item
HTTP status 200
Load time 1.750 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

OptinMonster → University

Page screenshot: OptinMonster  → University
URL /wp-admin/admin.php?page=optin-monster-university
Aspect menu-item
HTTP status 200
Load time 0.782 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

OptinMonster → Social Proof Widget

Page screenshot: OptinMonster  → Social Proof Widget
URL /wp-admin/admin.php?page=optin-monster-trustpulse
Aspect menu-item
HTTP status 200
Load time 0.568 s
Memory usage 2.9 MiB
JS errors None
Resource errors None

OptinMonster → About Us

Page screenshot: OptinMonster  → About Us
URL /wp-admin/admin.php?page=optin-monster-about
Aspect menu-item
HTTP status 200
Load time 1.899 s
Memory usage 2.93 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.311 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.401 s
Memory usage 2.96 MiB
JS errors None
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
Load time 0.770 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.259 s0.522 s+0.263 s2.82 MiB2.96 MiB+ 145.02 KiB
/wp-admin/edit.php0.212 s0.256 s+0.044 s2.86 MiB3.01 MiB+ 149.55 KiB
/wp-admin/post-new.php0.898 s1.482 s+0.584 s5.02 MiB5.36 MiB+ 347.84 KiB
/wp-admin/upload.php0.479 s0.507 s+0.028 s2.7 MiB2.9 MiB+ 206.88 KiB
/wp-admin/options-writing.php0.146 s0.159 s+0.013 s2.71 MiB2.88 MiB+ 174.82 KiB
/wp-admin/media-new.php0.211 s0.211 s+0.000 s2.67 MiB2.87 MiB+ 207.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.227 s+0.046 s2.77 MiB2.92 MiB+ 150.71 KiB
/wp-admin/post-new.php?post_type=page1.147 s1.048 s-0.099 s5.01 MiB5.35 MiB+ 351.13 KiB
/wp-admin/options-discussion.php0.285 s0.234 s-0.051 s2.67 MiB2.88 MiB+ 207.4 KiB
/wp-admin/edit-comments.php0.231 s0.230 s-0.001 s2.78 MiB2.92 MiB+ 143.49 KiB
/0.248 s0.272 s+0.024 s2.71 MiB2.69 MiB- 13.86 KiB
Average 0.391 s0.468 s+0.077 s3.16 MiB3.34 MiB+ 188.18 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
SVG
Language % Lines of code Comment lines Files
PHP77.8%7,0225,18049
SVG14.4%1,298123
Markdown4.4%40001
JavaScript3.3%3001419
Total 9,020 5,322 82

PHP Code Analysis | More results »

Lines of code 6,290
Total complexity 1,377
Median class complexity 22.0
Median method complexity 2.0
Most complex class OMAPI_RestApi
Most complex function OMAPI_Sites::fetch()
Classes 41
Methods 405
Functions 4

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 4

Custom Post Types 1

ID Name
omapiCampaigns

Sidebar Widgets 1

ID Name
optin-monster-apiOptinMonster

Meta Boxes

{
    "dashboard": {
        "optin_monster_db_widget": {
            "title": "Please Connect OptinMonster",
            "context": "normal"
        }
    },
    "shop_coupon": {
        "woocommerce_promote_coupon_metabox": {
            "title": "Promote this coupon",
            "context": "advanced"
        }
    },
    "product": {
        "woocommerce_popup_metabox": {
            "title": "Product Popups",
            "context": "advanced"
        }
    }
}

PHP Error Log 7 lines

[09-Mar-2021 21:21:57 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[09-Mar-2021 21:21:59 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[09-Mar-2021 21:22:02 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[09-Mar-2021 21:22:06 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[09-Mar-2021 21:22:10 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[09-Mar-2021 21:22:13 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
[09-Mar-2021 21:22:16 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.) in /wp-includes/functions.php on line 5313
See also: All tests for this plugin, How to Hide OptinMonster Admin Menus and More