ImageMapper 1.2.6

Does ImageMapper work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
19PHP warnings
1PHP deprecation warnings
8JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 85.24 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/imagemapper/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=imagemapper%2Fimagemapper.php&plugin_status=all&paged=1&s&_wpnonce=fe365ba7f2
Aspect after-activation
HTTP status 200
Load time 0.420 s
Memory usage 3.61 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Image maps

Page screenshot: Image maps
URL /wp-admin/edit.php?post_type=imagemap
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.63 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Image maps → Add new Image map

Page screenshot: Image maps → Add new Image map
URL /wp-admin/post-new.php?post_type=imagemap
Aspect menu-item
HTTP status 200
Load time 0.354 s
Memory usage 3.64 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Image maps → Image map settings

Page screenshot: Image maps → Image map settings
URL /wp-admin/edit.php?post_type=imagemap&page=imagemap-settings
Aspect menu-item
HTTP status 200
Load time 0.178 s
Memory usage 3.57 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Image map areas

Page screenshot: Image map areas
URL /wp-admin/edit.php?post_type=imagemap_area
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.64 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Image map areas → Add new Image map area

Page screenshot: Image map areas → Add new Image map area
URL /wp-admin/post-new.php?post_type=imagemap_area
Aspect menu-item
HTTP status 200
Load time 0.445 s
Memory usage 3.68 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Image map areas → Highlight styles

Page screenshot: Image map areas → Highlight styles
URL /wp-admin/edit.php?post_type=imagemap_area&page=imagemap-area-styles
Aspect menu-item
HTTP status 200
Load time 0.233 s
Memory usage 3.57 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
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.242 s
Memory usage 3.52 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'msie')\n    at Object.me.init (/wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13118)\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13487\n    at /wp-content/plugins/imagemapper/script/jquery.imagemapster.min.js?ver=6.8.1:12:13494",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.446 s0.567 s+0.121 s3.51 MiB3.59 MiB+ 88.98 KiB
/wp-admin/edit.php0.187 s0.208 s+0.021 s3.57 MiB3.66 MiB+ 87.52 KiB
/wp-admin/post-new.php0.747 s0.961 s+0.214 s6.06 MiB6.17 MiB+ 110.66 KiB
/wp-admin/upload.php0.766 s0.422 s-0.344 s3.52 MiB3.59 MiB+ 69.59 KiB
/wp-admin/options-writing.php0.233 s0.198 s-0.035 s3.5 MiB3.57 MiB+ 74.11 KiB
/wp-admin/media-new.php0.294 s0.250 s-0.044 s3.49 MiB3.57 MiB+ 82.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.252 s0.191 s-0.061 s3.5 MiB3.59 MiB+ 92.98 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.817 s+0.229 s6.05 MiB6.15 MiB+ 106.18 KiB
/wp-admin/options-discussion.php0.291 s0.544 s+0.253 s3.5 MiB3.57 MiB+ 69.98 KiB
/wp-admin/edit-comments.php0.359 s0.229 s-0.130 s3.52 MiB3.59 MiB+ 70.11 KiB
/0.329 s0.253 s-0.076 s3.43 MiB3.52 MiB+ 85.18 KiB
Average 0.408 s0.422 s+0.013 s3.97 MiB4.05 MiB+ 85.24 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP56.0%7901013
JavaScript31.7%447172
CSS12.3%17381
Sass0.1%101
Total 1,411 126 7

PHP Code Analysis | More results »

Lines of code 772
Total complexity 143
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function imgmap_area_form_types()
Classes 0
Methods 0
Functions 44

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 6

Custom Post Types 2

ID Name
imagemapImage maps
imagemap_areaImage map areas

Meta Boxes

{
    "imagemap": {
        "imagemap-image-container": {
            "title": "Image",
            "context": "normal"
        },
        "imagemap-addarea": {
            "title": "Add area",
            "context": "side"
        },
        "imagemap-areas": {
            "title": "Areas",
            "context": "side"
        }
    },
    "imagemap_area": {
        "imagemap-area-highlight": {
            "title": "Highlight",
            "context": "side"
        },
        "imagemap-area-settings": {
            "title": "Settings",
            "context": "side"
        },
        "imagemap-area-types": {
            "title": "Mouse event",
            "context": "normal"
        }
    }
}

PHP Error Log 20 lines

[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-type" in /wp-content/plugins/imagemapper/imagemapper.php on line 270
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-tooltip-text" in /wp-content/plugins/imagemapper/imagemapper.php on line 271
[01-May-2025 21:46:19 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1807
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-title-attribute" in /wp-content/plugins/imagemapper/imagemapper.php on line 272
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-link-url" in /wp-content/plugins/imagemapper/imagemapper.php on line 273
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-link-type" in /wp-content/plugins/imagemapper/imagemapper.php on line 274
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-link-post" in /wp-content/plugins/imagemapper/imagemapper.php on line 275
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined array key "area-link-page" in /wp-content/plugins/imagemapper/imagemapper.php on line 276
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
[01-May-2025 21:46:19 UTC] PHP Warning:  Undefined property: stdClass::$color in /wp-content/plugins/imagemapper/imagemapper.php on line 482
See also: All tests for this plugin, How to Hide ImageMapper Admin Menus and Meta Boxes