• v1.1.0 771c949ba8

    1.1.0
    tests / phpunit (push) Has been cancelled
    Stable

    bryzgalov released this 2026-05-19 02:31:58 +05:00 | 1 commits to main since this release

    • Change: Redirect::handle() переписан на washanyanya-style. Триггерится на is_404() (хук template_redirect priority 1), ищет private/publish page по URL slug через get_posts, матчит с page_unic, делает 301 на канонический /{city}/{orig-slug}/. Старая семантика (триггер по $post->ID === page_new) удалена — она покрывала только редкий edge-кейс published clone with own URL.
    • Change: Redirect handler hook переехал с wp priority 9998 на template_redirect priority 1 (стандарт WP для redirects).
    Downloads
  • v1.0.1 d36408a4a6

    1.0.1
    tests / phpunit (push) Has been cancelled
    Stable

    bryzgalov released this 2026-05-17 17:02:11 +05:00 | 9 commits to main since this release

    • Add: процедурный wrapper wpmc_main_town_slug() (был задокументирован в README, но отсутствовал в коде).
    • Fix: WP 6.7+ notice _load_textdomain_just_in_time — убраны __() обёртки из labels CPT/таксономии/ACF field group (плагин не поставляется с переводами).
    • Fix: ACF acf_get_value "called too early" notice — добавлен did_action('acf/init') guard в Helpers::main_town_slug(), index_town_alt_page_id, page_unic_swap, is_routable_path, alt_get_field. До инициализации ACF возвращают безопасные defaults (null/true).
    Downloads
  • v1.0.0 1e6514b114

    1.0.0
    tests / phpunit (push) Has been cancelled
    Stable

    bryzgalov released this 2026-05-17 12:49:33 +05:00 | 15 commits to main since this release

    • Первый релиз. MVP-ядро завершено (S1–S7 эпика cp-cw4).
    • taxonomy town + CPT shortcode-town + ACF list_shortcode repeater.
    • [shortcode_dmr id=N] для подстановок по городу.
    • URL-роутер /{city}/{path}/ с поддержкой page_unic / main_page_alt / page_no_rep.
    • Глобальные фильтры the_title, home_url, post_link, acf/load_value, rest_url.
    • Self-hosted updates через Gitea + plugin-update-checker v5.6.
    Downloads