Modal Popup Box 1.4.5

Does Modal Popup Box work with WordPress 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: 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
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=e5c3852a6e
Aspect after-activation
HTTP status 200
Load time 0.233 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.341 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.493 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.537 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.424 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.186 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.236 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.302 s0.258 s-0.044 s3.07 MiB3.14 MiB+ 72.24 KiB
/wp-admin/edit.php0.208 s0.185 s-0.023 s3.1 MiB3.17 MiB+ 72.53 KiB
/wp-admin/post-new.php0.773 s0.862 s+0.089 s5.02 MiB5.1 MiB+ 77.22 KiB
/wp-admin/upload.php0.572 s0.447 s-0.125 s3.02 MiB3.07 MiB+ 56.44 KiB
/wp-admin/options-writing.php0.151 s0.149 s-0.002 s3.01 MiB3.06 MiB+ 46.29 KiB
/wp-admin/media-new.php0.330 s0.222 s-0.108 s2.99 MiB3.06 MiB+ 68.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.168 s0.187 s+0.019 s3.01 MiB3.08 MiB+ 72.6 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.666 s+0.061 s5.01 MiB5.09 MiB+ 72.8 KiB
/wp-admin/options-discussion.php0.220 s0.251 s+0.031 s3 MiB3.06 MiB+ 60.02 KiB
/wp-admin/edit-comments.php0.211 s0.203 s-0.008 s3.03 MiB3.08 MiB+ 55.23 KiB
/0.300 s0.207 s-0.093 s2.97 MiB3.01 MiB+ 36.76 KiB
Average 0.349 s0.331 s-0.018 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

[31-Mar-2023 23:36:33 UTC] PHP Warning:  Undefined variable $columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 105
[31-Mar-2023 23:36: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