docs: backfill CHANGELOG.md with v0.1.4 + v0.1.5 entries
v0.1.4 — wp.org submission prep (RangerHQ family rename + PCP cleanup). v0.1.5 — wp.org reviewer-feedback fix (inline <style> + style="..." → enqueued CSS classes). Keeps the CHANGELOG.md in step with the readme.txt Changelog section and the davidtkeane.com landing page Recent Changes list.
This commit is contained in:
@@ -9,6 +9,47 @@ Format: [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/) — versi
|
||||
|
||||
---
|
||||
|
||||
## [0.1.5] — 2026-06-08
|
||||
|
||||
### Fixed — WordPress.org reviewer feedback (inline asset cleanup)
|
||||
|
||||
First-round review from the WordPress.org Plugin Directory team flagged the About page for using an inline `<style>` block. The fix-pass went broader than the single flagged file — a full audit caught three more inline `style="…"` attributes elsewhere in the admin UI, all of which moved to proper CSS classes in the enqueued stylesheet.
|
||||
|
||||
The only inline style that intentionally remains is the dynamic stat-bar `width:%d%%` value in the Dashboard widget, which is runtime data computed from per-user state — that one is allowed under wp.org rules because the value cannot be precomputed in a static stylesheet.
|
||||
|
||||
- **`inc/about.php`**: removed the 40-line `<style>` block at the top of the file. Replaced `<span style="color:#646970; font-weight:400;">` with `class="buddy-about-intro__version"`. Replaced `<p style="margin-bottom:0;">` with `class="buddy-about-intro__cta"`.
|
||||
- **`inc/settings.php`**: replaced the long inline `style="max-width: 720px; background:#fff; padding:18px 22px; …"` form-wrapper attribute with `class="buddy-settings-form"`. Removed inline `<h2 style="margin-top:0;">` on the Name heading.
|
||||
- **`inc/admin-page.php`**: replaced `<p class="description" style="max-width: 720px;">` with `class="description buddy-admin-description"`.
|
||||
- **`assets/css/buddy.css`**: appended ~40 lines covering the About page intro classes, the Settings form wrapper, and the admin-page description max-width rule. All visual styling now lives in one enqueued stylesheet.
|
||||
|
||||
No user-visible behaviour changes. Functionality and layout identical to v0.1.4.
|
||||
|
||||
---
|
||||
|
||||
## [0.1.4] — 2026-06-07
|
||||
|
||||
### Changed — WordPress.org submission prep (plugin family renaming + PCP cleanup)
|
||||
|
||||
This release prepares Buddy for the WordPress.org Plugin Directory and aligns it with the RangerHQ plugin family naming convention. No user-visible behaviour changes; existing Buddy state is preserved across the rename.
|
||||
|
||||
- **Plugin renamed** from "Buddy" to "RangerHQ Buddy". Plugin header `Plugin Name` updated. The text domain moved from `buddy` to `rangerhq-buddy` and every `__()`, `_e()`, `esc_html__()` etc. call across the codebase was updated to match.
|
||||
- **Plugin URI** and **Author URI** updated to `davidtkeane.com` (RangerHQ family standard, locked 2026-05-30).
|
||||
- **Slug stays as `buddy`** internally — directory name, admin-menu slug, `BUDDY_*` constants and `buddy_*` function prefixes all unchanged. Only the user-facing brand and text domain moved.
|
||||
- **Self-hosted Gitea updater removed.** WordPress.org-hosted plugins use the core update system; a custom updater is forbidden under wp.org rules. The `require_once BUDDY_PATH . 'inc/updater.php';` line was removed from `buddy.php`. The `inc/updater.php` file itself stays in the Gitea repo (defensive `function_exists()` checks keep it inert if not loaded) so the self-hosted build path is recoverable.
|
||||
- **`LICENSE` file added** containing the full GPL v2 text from gnu.org (required by wp.org).
|
||||
- **`readme.txt` added** in WordPress.org format — header, Description, Installation, FAQ, Screenshots, Changelog, Upgrade Notice sections. Stable tag pinned to 0.1.4.
|
||||
|
||||
### Fixed — Plugin Check (PCP) cleanup pass
|
||||
|
||||
Resolved every PCP warning ahead of submission (from 15 errors down to zero):
|
||||
|
||||
- Text domain alignment across all translation calls (`buddy` → `rangerhq-buddy`).
|
||||
- Output escaping tightened — `esc_html__()`, `esc_attr__()`, `esc_html_e()` applied wherever user-facing strings reach the page.
|
||||
- Translator comments added next to every `printf`/`sprintf`-style string with placeholders.
|
||||
- Replaced `mt_rand()` with `wp_rand()` for better randomness (wp.org best-practice).
|
||||
|
||||
---
|
||||
|
||||
## [0.1.3] — 2026-05-27
|
||||
|
||||
### Fixed — Wink no longer gets stuck
|
||||
|
||||
Reference in New Issue
Block a user