Repository navigation
Releases: duppinstech/wp-dynamic-location-menus
Releases · duppinstech/wp-dynamic-location-menus
Release list
v2.0.0
Requirements
- Requires at least: 6.0
- Requires PHP: 7.4
- Tested up to: 7.0
Changes in 2.0.0
Added
- Phone field on each location row (used for cloning and consistency checks).
- Coverage matrix actions — Create button on gap cells; column +N bulk-clones to all missing cities for a slot.
- Clone pages tab — duplicate a template city page to selected locations with city/phone/slug find-replace in stored content and Elementor JSON.
- Consistency tab — per-location audit of phones and location names in stored page source (not Nimba-rendered HTML).
- New classes:
DLM_Content,DLM_Audit,DLM_Cloner.
Fixed
- Clone batch “Skip existing” checkbox — unchecking the box now allows cloning to locations that already have an indexed slot page (unchecked boxes were omitted from POST and were incorrectly treated as “skip”).
- Location title/heading formatting — strips city+state with or without a comma (e.g.
Blue Springs MO) and always outputs the configured label format (Blue Springs, MO); fixes doubled titles likeHeavy Duty Towing Blue Springs MO in Blue Springs, MO. - Page map slot detection — nested city URLs (e.g.
…/joplin/roadside-assistance/vehicle-lockouts/) now index under the leaf service slot, not the parent; prefers/service-areas/pages over flat AdWords landing slugs when multiple pages match the same slot. - Menu slot matching — menu URLs that share depth and leaf slug with a configured slot (e.g.
/services/heavy-duty-recovery/rotator-service/) now rewrite even when the middle path segment differs from the slot row'surl_path. - Menu rewrite regression — context detection no longer depends solely on
is_singular()(menus in headers often render earlier); removedsanitize_text_field()from request paths; resolver rewrites menu items that point at the wrong city instead of treating any indexed city URL as final. - City hub slug matching — paths like
/service-areas/kansas/kansas-city/…now map to the configured locationkansas-city-ks(and/service-areas/missouri/kansas-city/…tokansas-city-mo), so menus rewrite on city-hub URLs. - Plugin Check compliance —
wp_strip_all_tags(), sanitized request path, unslashed POST/GET handling, readme tested-up-to 7.0, shortened short description, GPL-2.0-or-later license header, text domaindynamic-location-menus.
What's Changed
- chore: align repo to SDLC baseline by @oduppinsjr in #1
- feat: plugins screen standard and GitHub updater by @oduppinsjr in #4
New Contributors
- @oduppinsjr made their first contribution in #1
Full Changelog: https://github.com/duppinstech/wp-dynamic-location-menus/commits/v2.0.0