From c002b08275fd204d16de86d27711d3fa76b9566d Mon Sep 17 00:00:00 2001 From: Vladimir Bryzgalov Date: Sun, 17 May 2026 17:01:23 +0500 Subject: [PATCH] docs(wpmc 1.0.1): changelog entries in readme.txt + CHANGELOG.md Add 1.0.1 release notes documenting the three hotfixes: procedural wrapper, WP 6.7 textdomain notice fix, and ACF early-call guard. Co-Authored-By: Claude Opus 4.7 --- CHANGELOG.md | 9 +++++++++ readme.txt | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69e68c1..ce77b82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ All notable changes to wp-multi-city. Format follows [Keep a Changelog](https://keepachangelog.com/). +## [1.0.1] — 2026-05-17 + +### Added +- Процедурный wrapper `wpmc_main_town_slug()` (документирован в README, отсутствовал в коде). + +### Fixed +- WP 6.7+ notice `_load_textdomain_just_in_time`: убраны `__()` из labels CPT/таксономии/ACF field group. +- ACF `acf_get_value` "called too early": `did_action('acf/init')` guard в 5 Helpers методах. + ## [1.0.0] — 2026-05-17 ### Added diff --git a/readme.txt b/readme.txt index 4cec38f..929c53f 100644 --- a/readme.txt +++ b/readme.txt @@ -23,6 +23,11 @@ License: GPLv2 or later == Changelog == += 1.0.1 = +* 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). + = 1.0.0 = * Первый релиз. MVP-ядро завершено (S1–S7 эпика cp-cw4). * taxonomy town + CPT shortcode-town + ACF list_shortcode repeater.