Custom Store Locator 1.0.2

Does Custom Store Locator work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 61.81 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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/custom-store-locator/
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=custom-store-locator%2Fcustom-store-locator.php&plugin_status=all&paged=1&s&_wpnonce=bb67f0898c
Aspect after-activation
HTTP status 200
Load time 0.390 s
Memory usage 3.74 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:1:30)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:269:1)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Locations

Page screenshot: Locations
URL /wp-admin/edit.php?post_type=csl_locations
Aspect menu-item
HTTP status 200
Load time 0.286 s
Memory usage 3.77 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:1:30)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:269:1)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Locations → Add New

Page screenshot: Locations → Add New
URL /wp-admin/post-new.php?post_type=csl_locations
Aspect menu-item
HTTP status 200
Load time 0.940 s
Memory usage 3.88 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:1:30)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:269:1)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Locations → Location Categories

Page screenshot: Locations → Location Categories
URL /wp-admin/edit-tags.php?taxonomy=csl_locations_categories&post_type=csl_locations
Aspect menu-item
HTTP status 200
Load time 0.220 s
Memory usage 3.73 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:1:30)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:269:1)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.0:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Store Locator

Page screenshot: Store Locator
URL /wp-admin/admin.php?page=store_plugin
Aspect menu-item
HTTP status 200
Load time 0.402 s
Memory usage 3.75 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:1:30)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:269:1)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,shortcode,moxiejs,plupload,thickbox,media-upload&ver=6.0:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,shortcode,moxiejs,plupload,thickbox,media-upload&ver=6.0:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Store Locator → Settings

Page screenshot: Store Locator → Settings
URL /wp-admin/admin.php?page=store_plugin_settings
Aspect menu-item
HTTP status 200
Load time 0.247 s
Memory usage 3.76 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:1:30)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/custom-store-locator/assets/csl-map-functions.js?ver=6.0:269:1)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,shortcode,moxiejs,plupload,thickbox,media-upload&ver=6.0:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,shortcode,moxiejs,plupload,thickbox,media-upload&ver=6.0:2:30340)",
        "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.308 s
Memory usage 3.6 MiB
JS errors
[
    {
        "message": "ReferenceError: allLocations is not defined\n    at initMap (eval at <anonymous> (/:1:1), <anonymous>:1:28)\n    at HTMLDocument.eval (eval at <anonymous> (/:1:1), <anonymous>:1:6438)\n    at e (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:30038)\n    at t (/wp-includes/js/jquery/jquery.min.js,qver=3.6.0.pagespeed.jm.izqK4d2SK0.js:1:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.354 s0.262 s-0.092 s3.72 MiB3.77 MiB+ 50.77 KiB
/wp-admin/edit.php0.193 s0.204 s+0.011 s3.75 MiB3.8 MiB+ 49.77 KiB
/wp-admin/post-new.php1.382 s0.886 s-0.496 s5.53 MiB5.59 MiB+ 61.59 KiB
/wp-admin/upload.php0.437 s0.478 s+0.041 s3.68 MiB3.73 MiB+ 48.33 KiB
/wp-admin/options-writing.php0.163 s0.165 s+0.002 s3.61 MiB3.7 MiB+ 93.89 KiB
/wp-admin/media-new.php0.386 s0.226 s-0.160 s3.66 MiB3.71 MiB+ 48.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.238 s0.205 s-0.033 s3.68 MiB3.73 MiB+ 50.34 KiB
/wp-admin/post-new.php?post_type=page0.700 s0.671 s-0.029 s5.53 MiB5.58 MiB+ 53.17 KiB
/wp-admin/options-discussion.php0.231 s0.236 s+0.005 s3.59 MiB3.7 MiB+ 114.06 KiB
/wp-admin/edit-comments.php0.214 s0.219 s+0.005 s3.69 MiB3.74 MiB+ 50.39 KiB
/0.269 s0.307 s+0.038 s3.55 MiB3.6 MiB+ 59.1 KiB
Average 0.415 s0.351 s-0.064 s4 MiB4.06 MiB+ 61.81 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP42.9%574959
CSS38.5%516163
JavaScript16.8%225182
JSON1.3%1701
SVG0.5%711
Total 1,339 130 16

PHP Code Analysis | More results »

Lines of code 556
Total complexity 66
Median class complexity 1.0
Median method complexity 1.0
Most complex class CustomStoreLocatorPlugin
Most complex function csl_listing_parameters_shortcode()
Classes 4
Methods 15
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.

Options wp_options 5

Custom Post Types 1

ID Name
csl_locationsLocations

Meta Boxes

{
    "csl_locations": {
        "csl_metabox_settings": {
            "title": "Store Locator Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[30-Jun-2022 15:49:14 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'CustomStoreLocatorPlugin' does not have a method 'deactivate' in /wp-includes/class-wp-hook.php on line 307
See also: All tests for this plugin, How to Hide Custom WP Store Locator Admin Menus and Meta Boxes