docs(wpmc 1.0.1): changelog entries in readme.txt + CHANGELOG.md
tests / phpunit (push) Has been cancelled

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 <noreply@anthropic.com>
This commit is contained in:
Vladimir Bryzgalov
2026-05-17 17:01:23 +05:00
parent 82d2345d12
commit c002b08275
2 changed files with 14 additions and 0 deletions
+9
View File
@@ -2,6 +2,15 @@
All notable changes to wp-multi-city. Format follows [Keep a Changelog](https://keepachangelog.com/). 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 ## [1.0.0] — 2026-05-17
### Added ### Added
+5
View File
@@ -23,6 +23,11 @@ License: GPLv2 or later
== Changelog == == 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 = = 1.0.0 =
* Первый релиз. MVP-ядро завершено (S1–S7 эпика cp-cw4). * Первый релиз. MVP-ядро завершено (S1–S7 эпика cp-cw4).
* taxonomy town + CPT shortcode-town + ACF list_shortcode repeater. * taxonomy town + CPT shortcode-town + ACF list_shortcode repeater.