Version 1.5.3 of Cardinal Store Locator contains a couple of fixes and small updates.
- When using the option to search for location by name, which is labeled as “Name Search” under the structure settings tab, a previously entered value was previously saved and used when clearing out the field
- Issues with the single map shortcode not displaying anything were corrected by swapping PHP isset() checks with empty()
- All instances of wp_localize() script were replaced with the newer and more appropriate wp_add_inline_script() for sending PHP data to JavaScript files
- One instance of block_categories() was replaced with block_categories_all() because the former has been deprecated
Changelog
- Fixed name search filter value not clearing if form input is cleared.
- Fixed meta checks for Single map shortcode.
- Replaced all wp_localize_script() calls with newer wp_add_inline_script()
- Replaced deprecated block_categories filter usage with block_categories_all