From 99475e80f28b6272291da3a195b3b04fe361d20e Mon Sep 17 00:00:00 2001 From: David Keane Date: Mon, 25 May 2026 08:00:41 +0100 Subject: [PATCH] =?UTF-8?q?release:=203.0.2=20=E2=86=92=203.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A single-day UX polish + bug-fix release. Nine prior commits worth of work culminating today: - Hidden phantom wp_note CPT submenus that misrouted Add New Note to the standard WP post editor (commit 05d8ad5). - Tier 1 page-callback cleanup: single H1, collapsed triple about/welcome surfaces, removed duplicate Toggle Welcome buttons, deleted lying v3.0.0 embedded changelog, moved Buy-Me-A-Coffee header → footer, removed dead bulk-action checkboxes, PHP 8.2 ${size}px → {$size}px deprecation (commit 930e605). - Banner moved from My Notes page top to About page as a 320px-wide side-by-side intro row (commit 868911d). - Menu rename: "Create WP Note" → "My Notes", "About WP Notes" → "About"; About page H1 trimmed to match Tier 1 style (commit b34d2d8). - Removed the duplicate smiley-face button beside the emoji input (commit 3f881b0). - Made the "No notes found" empty-state notice dismissible (commit 71df974). - Fixed the duplicate "Create a New WP Note" form rendering at the bottom of the My Notes page — root cause was WP firing both parent and submenu callbacks for the shared menu_slug (commit c773a21). - Added persistent per-user dismissal of the empty-state notice via user_meta + AJAX, so closing it stays closed across page reloads (commit 35920fe). - Removed the Tools → My Notes shortcut and added a backward- compatible redirect for stale ?page=wp-notes-create bookmarks (commit 3801cc2). Bump: - wp-notes.php header Version: 3.0.2 → 3.1.0 - WP_NOTES_VERSION constant 3.0.2 → 3.1.0 - CHANGELOG [Unreleased] block moved under [3.1.0] - 2026-05-25 No data migration required. Storage model unchanged (wp_options). Co-Authored-By: Claude Sonnet 4.6 --- CHANGELOG.md | 11 +++++++++++ wp-notes.php | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5ad6ae..3f24c51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ Format: [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/) — versi ## [Unreleased] +--- + +## [3.1.0] — 2026-05-25 + +A single-day UX polish + bug-fix release. Nine commits worth of +work, focused on the main "My Notes" admin page: stripping out +years of layout debt, tightening the menu structure, removing +duplicates, and adding the per-user persistent dismissal of the +empty-state notice. No data migration required; storage model +unchanged (notes still live in `wp_options`). + ### Removed — Tools → My Notes shortcut (with backward-compatible redirect) The "Tools → My Notes" admin menu shortcut has been removed. It routed to a separate bare-bones form at `?page=wp-notes-create` diff --git a/wp-notes.php b/wp-notes.php index d20ff1c..3223fe6 100644 --- a/wp-notes.php +++ b/wp-notes.php @@ -5,7 +5,7 @@ * Plugin Name: A-WP-Notes * Plugin URI: https://icanhelp.ie/wp-notes * Description: A plugin to add your notes to the WordPress dashboard with import/export functionality - * Version: 3.0.2 + * Version: 3.1.0 * Requires at least: 5.0 * Requires PHP: 7.2 * Author: IR240474 @@ -33,7 +33,7 @@ if (!isset($wp_notes_init)) { $wp_notes_init = true; // Plugin Constants - if (!defined('WP_NOTES_VERSION')) define('WP_NOTES_VERSION', '3.0.2'); + if (!defined('WP_NOTES_VERSION')) define('WP_NOTES_VERSION', '3.1.0'); if (!defined('WP_NOTES_FILE')) define('WP_NOTES_FILE', __FILE__); if (!defined('WP_NOTES_PATH')) define('WP_NOTES_PATH', plugin_dir_path(__FILE__)); if (!defined('WP_NOTES_URL')) define('WP_NOTES_URL', plugin_dir_url(__FILE__));