Modal Popup Box 1.4.6

Does Modal Popup Box work with WordPress 6.2.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: 62.76 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.2.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=a33daafedc
Aspect after-activation
HTTP status 200
Load time 0.235 s
Memory usage 3.08 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.305 s
Memory usage 3.12 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.454 s
Memory usage 3.3 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.438 s
Memory usage 3.38 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.373 s
Memory usage 3.08 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.173 s
Memory usage 3.11 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.01 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.250 s-0.045 s3.07 MiB3.14 MiB+ 72.24 KiB
/wp-admin/edit.php0.184 s0.173 s-0.011 s3.1 MiB3.17 MiB+ 72.53 KiB
/wp-admin/post-new.php0.761 s0.838 s+0.077 s5.02 MiB5.1 MiB+ 77.22 KiB
/wp-admin/upload.php0.555 s0.355 s-0.200 s3.02 MiB3.07 MiB+ 56.44 KiB
/wp-admin/options-writing.php0.178 s0.143 s-0.035 s3.01 MiB3.06 MiB+ 46.29 KiB
/wp-admin/media-new.php0.319 s0.227 s-0.092 s2.99 MiB3.06 MiB+ 68.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.179 s-0.011 s3.01 MiB3.08 MiB+ 72.6 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.632 s+0.032 s5.01 MiB5.09 MiB+ 72.8 KiB
/wp-admin/options-discussion.php0.216 s0.239 s+0.023 s3 MiB3.06 MiB+ 60.02 KiB
/wp-admin/edit-comments.php0.215 s0.202 s-0.013 s3.03 MiB3.08 MiB+ 55.23 KiB
/0.307 s0.210 s-0.097 s2.97 MiB3.01 MiB+ 36.75 KiB
Average 0.347 s0.313 s-0.034 s3.38 MiB3.45 MiB+ 62.76 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

[22-May-2023 06:55:00 UTC] PHP Warning:  Undefined variable $columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 105
[22-May-2023 06:55:00 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