Modal Popup Box 1.5.6

Does Modal Popup Box work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 103.64 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 version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/modal-popup-box/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=modal-popup-box%2Fmodal-popup-box.php&plugin_status=all&paged=1&s&_wpnonce=3582ce00c0
Aspect after-activation
HTTP status 200
Load time 0.258 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Modal Popup Box

Page screenshot: Modal Popup Box
URL /wp-admin/edit.php?post_type=modalpopupbox
Aspect menu-item
HTTP status 200
Load time 0.183 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Modal Popup Box → Add New

Page screenshot: Modal Popup Box → Add New
URL /wp-admin/post-new.php?post_type=modalpopupbox
Aspect menu-item
HTTP status 200
Load time 1.356 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

Modal Popup Box → Featured Plugin

Page screenshot: Modal Popup Box → Featured Plugin
URL /wp-admin/edit.php?post_type=modalpopupbox&page=sr-featured-plugin-page
Aspect menu-item
HTTP status 200
Load time 1.200 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

Modal Popup Box → Our Theme

Page screenshot: Modal Popup Box → Our Theme
URL /wp-admin/edit.php?post_type=modalpopupbox&page=sr-theme-page
Aspect menu-item
HTTP status 200
Load time 0.351 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Appearance → Install Plugins

Page screenshot: Appearance → Install Plugins
URL /wp-admin/themes.php?page=tgmpa-install-plugins
Aspect menu-item
HTTP status 200
Load time 0.185 s
Memory usage 3.64 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.167 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.314 s+0.006 s3.47 MiB3.55 MiB+ 77.25 KiB
/wp-admin/edit.php0.185 s0.234 s+0.049 s3.54 MiB3.61 MiB+ 76.18 KiB
/wp-admin/post-new.php0.737 s0.928 s+0.191 s5.75 MiB5.95 MiB+ 206.85 KiB
/wp-admin/upload.php0.504 s0.437 s-0.067 s3.49 MiB3.55 MiB+ 64.27 KiB
/wp-admin/options-writing.php0.206 s0.170 s-0.036 s3.41 MiB3.53 MiB+ 121.58 KiB
/wp-admin/media-new.php0.226 s0.234 s+0.008 s3.4 MiB3.53 MiB+ 134.96 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.177 s-0.013 s3.47 MiB3.55 MiB+ 81.63 KiB
/wp-admin/post-new.php?post_type=page0.557 s0.521 s-0.036 s5.75 MiB5.94 MiB+ 202.44 KiB
/wp-admin/options-discussion.php0.193 s0.338 s+0.145 s3.41 MiB3.53 MiB+ 123.27 KiB
/wp-admin/edit-comments.php0.417 s0.221 s-0.196 s3.49 MiB3.55 MiB+ 64.27 KiB
/0.318 s0.182 s-0.136 s3.45 MiB3.44 MiB- 12.6 KiB
Average 0.349 s0.341 s-0.008 s3.88 MiB3.98 MiB+ 103.64 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.

CSS
JavaScript
PHP
Language % Lines of code Comment lines Files
CSS62.7%18,00458910
JavaScript19.5%5,5852507
PHP11.3%3,2521,7348
SVG5.7%1,62803
PO File0.8%2281081
Total 28,697 2,681 29

PHP Code Analysis | More results »

Lines of code 2,998
Total complexity 496
Median class complexity 18.0
Median method complexity 2.0
Most complex class TGM_Plugin_Activation
Most complex function TGMPA_List_Table::process_bulk_actions()
Classes 8
Methods 117
Functions 9

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.

Custom Post Types 1

ID Name
modalpopupboxModal Popup Box

Meta Boxes

{
    "modalpopupbox": {
        "1": {
            "title": "Copy Modal Popup Shortcode",
            "context": "side"
        },
        "Rate Our Plugin": {
            "title": "Rate Our Plugin",
            "context": "side"
        },
        "Modal Box Settings": {
            "title": "Modal Box Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 2 lines

[08-Oct-2024 10:58:33 UTC] PHP Warning:  Undefined variable $columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 105
[08-Oct-2024 10:58:33 UTC] PHP Warning:  Trying to access array offset on value of type null in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 105
See also: All tests for this plugin, How to Hide Modal Popup Box Admin Menus and Meta Boxes