Modal Popup Box 1.5.1

Does Modal Popup Box work with WordPress 6.4.3 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: 62.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 version6.4.3
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=65d014b775
Aspect after-activation
HTTP status 200
Load time 0.279 s
Memory usage 3.39 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.222 s
Memory usage 3.43 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.444 s
Memory usage 3.61 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.615 s
Memory usage 3.69 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.417 s
Memory usage 3.39 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.217 s
Memory usage 3.48 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.229 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.354 s0.402 s+0.048 s3.38 MiB3.46 MiB+ 76.56 KiB
/wp-admin/edit.php0.229 s0.246 s+0.017 s3.41 MiB3.48 MiB+ 77.22 KiB
/wp-admin/post-new.php0.957 s0.636 s-0.321 s5.46 MiB5.54 MiB+ 82.16 KiB
/wp-admin/upload.php0.624 s0.499 s-0.125 s3.32 MiB3.38 MiB+ 60.29 KiB
/wp-admin/options-writing.php0.233 s0.223 s-0.010 s3.32 MiB3.37 MiB+ 55.55 KiB
/wp-admin/media-new.php0.326 s0.411 s+0.085 s3.3 MiB3.37 MiB+ 72.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.210 s-0.015 s3.31 MiB3.39 MiB+ 77.29 KiB
/wp-admin/post-new.php?post_type=page0.818 s0.624 s-0.194 s5.45 MiB5.53 MiB+ 77.75 KiB
/wp-admin/options-discussion.php0.329 s0.297 s-0.032 s3.3 MiB3.37 MiB+ 64.71 KiB
/wp-admin/edit-comments.php0.316 s0.248 s-0.068 s3.34 MiB3.39 MiB+ 59.92 KiB
/0.290 s0.211 s-0.079 s3.36 MiB3.35 MiB- 13.09 KiB
Average 0.427 s0.364 s-0.063 s3.72 MiB3.78 MiB+ 62.85 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,2481,7158
SVG5.7%1,62803
PO File0.8%2281081
Total 28,693 2,662 29

PHP Code Analysis | More results »

Lines of code 2,487
Total complexity 489
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 7

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

[05-Feb-2024 10:31:18 UTC] PHP Warning:  Undefined variable $columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 105
[05-Feb-2024 10:31:18 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