release: 3.3.0 → 3.3.1 — drop "WP" prefix, plugin is now just "Logbook"
David's call after a short discussion about WordPress.org marketplace considerations. WP.org's trademark policy historically discourages plugins implying official endorsement via a "WP" prefix and has been known to request rename during submission review. Dropping it now makes the name cleaner AND sidesteps that future hurdle if/when the plugin lands on the marketplace. CHANGES All user-facing brand mentions: WP Logbook → Logbook across: - Plugin header (Plugin Name + docblock) - Admin menu top-level - Admin sidebar submenu label still "My Log" (already prefix-free) - Admin bar count menu - Dashboard widget title - Settings page H1 - Main page H1 - About page intro card + "What Logbook does" card heading - Email feedback subject + body intro - Legacy feedback.php subject lines - error_log() prefix [WP Logbook] → [Logbook] - Updater panel description text - styles.php docblock VERSION - wp-notes.php header Version: 3.3.0 → 3.3.1 - WP_NOTES_VERSION constant: 3.3.0 → 3.3.1 - About page version-history card gets new top entry for v3.3.1 with green "latest" pill; v3.3.0 demoted to previous entry - CHANGELOG header line tracks the full naming lineage now: A-WP-Notes (≤v3.1.0) → WP Logbook (v3.2.0-v3.3.0) → Logbook (v3.3.1+) NOTABLY NOT CHANGED - Historical CHANGELOG entries for v3.2.0 still say "WP Logbook" — that was the correct name at the time, rewriting would be revisionist. - Same zero-migration commitment: internal function names, constants, DB option keys, user_meta keys, file paths, plugin slug 'wp-notes', and text domain 'a-wp-notes' all unchanged. - Pure user-facing string change. No data migration, no behaviour change. Existing installs see "Logbook" appear on next page refresh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+18
-18
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* WP Logbook — WordPress work-logbook plugin
|
||||
* Logbook — WordPress work-logbook plugin
|
||||
*
|
||||
* Plugin Name: WP Logbook
|
||||
* Plugin Name: Logbook
|
||||
* Plugin URI: https://icanhelp.ie/wp-notes
|
||||
* Description: A lightweight task & logbook plugin for WordPress. Log your daily work, mark tasks done, and keep a tidy record inside the dashboard. Perfect for freelancers showing clients what's been delivered and students proving work to teachers.
|
||||
* Version: 3.3.0
|
||||
* Version: 3.3.1
|
||||
* 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.3.0');
|
||||
if (!defined('WP_NOTES_VERSION')) define('WP_NOTES_VERSION', '3.3.1');
|
||||
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__));
|
||||
@@ -44,7 +44,7 @@ if (!isset($wp_notes_init)) {
|
||||
if (!function_exists('wp_notes_log_error')) {
|
||||
function wp_notes_log_error($message) {
|
||||
if (defined('WP_DEBUG') && WP_DEBUG === true) {
|
||||
error_log('[WP Logbook] ' . $message);
|
||||
error_log('[Logbook] ' . $message);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -169,8 +169,8 @@ if (defined('WP_NOTES_PATH')) {
|
||||
// Admin Menu
|
||||
function wp_notes_admin_menu() {
|
||||
add_menu_page(
|
||||
'WP Logbook',
|
||||
'WP Logbook',
|
||||
'Logbook',
|
||||
'Logbook',
|
||||
'manage_options',
|
||||
'wp-notes',
|
||||
'wp_notes_page_callback',
|
||||
@@ -179,7 +179,7 @@ function wp_notes_admin_menu() {
|
||||
);
|
||||
|
||||
// "My Log" — the main landing submenu. Same slug as the parent
|
||||
// menu so clicking either WP Logbook or My Log lands on the same
|
||||
// menu so clicking either Logbook or My Log lands on the same
|
||||
// central dashboard (the parent's wp_notes_page_callback already
|
||||
// renders form + active list + completed list).
|
||||
//
|
||||
@@ -218,7 +218,7 @@ function wp_notes_admin_menu() {
|
||||
'wp_notes_import_export_page'
|
||||
);
|
||||
|
||||
// About submenu — the WP Logbook brand is already carried by the
|
||||
// About submenu — the Logbook brand is already carried by the
|
||||
// parent menu, so the submenu can be plain-spoken.
|
||||
add_submenu_page(
|
||||
'wp-notes',
|
||||
@@ -291,7 +291,7 @@ function wp_notes_settings_page() {
|
||||
settings_errors('wp_notes_settings');
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1>WP Logbook Settings</h1>
|
||||
<h1>Logbook Settings</h1>
|
||||
<form method="post" action="options.php">
|
||||
<?php
|
||||
settings_fields('wp_notes_settings');
|
||||
@@ -313,7 +313,7 @@ function wp_notes_settings_page() {
|
||||
|
||||
// Settings section callback
|
||||
function wp_notes_section_callback() {
|
||||
echo '<p>Configure default settings for WP Logbook.</p>';
|
||||
echo '<p>Configure default settings for Logbook.</p>';
|
||||
}
|
||||
|
||||
// Font setting callback
|
||||
@@ -705,8 +705,8 @@ function wp_notes_ajax_submit_feedback() {
|
||||
];
|
||||
$topics_pretty = array_map(function ($t) use ($topic_labels) { return $topic_labels[$t] ?? $t; }, $topics);
|
||||
|
||||
$subject = sprintf('[%s] WP Logbook feedback from %s', $site, $user->display_name ?: $user->user_login);
|
||||
$body = "Feedback received via WP Logbook → About page\n";
|
||||
$subject = sprintf('[%s] Logbook feedback from %s', $site, $user->display_name ?: $user->user_login);
|
||||
$body = "Feedback received via Logbook → About page\n";
|
||||
$body .= str_repeat('-', 48) . "\n\n";
|
||||
$body .= 'From: ' . ($user->display_name ?: $user->user_login) . ' <' . $user->user_email . ">\n";
|
||||
$body .= 'Site: ' . home_url() . "\n";
|
||||
@@ -820,7 +820,7 @@ function wp_notes_save_edit() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Main WP Logbook page — central hub for note management
|
||||
* Main Logbook page — central hub for note management
|
||||
*/
|
||||
function wp_notes_page_callback() {
|
||||
if (!current_user_can('edit_posts')) {
|
||||
@@ -840,7 +840,7 @@ function wp_notes_page_callback() {
|
||||
?>
|
||||
<div class="wrap">
|
||||
<!-- Header Section with WordPress Admin Styling -->
|
||||
<h1 class="wp-heading-inline">WP Logbook</h1>
|
||||
<h1 class="wp-heading-inline">Logbook</h1>
|
||||
<span class="page-title-action">v<?php echo esc_html(WP_NOTES_VERSION); ?></span>
|
||||
<hr class="wp-header-end">
|
||||
|
||||
@@ -1396,7 +1396,7 @@ function wp_notes_dashboard_widget() {
|
||||
function wp_notes_add_dashboard_widgets() {
|
||||
wp_add_dashboard_widget(
|
||||
'wp_notes_dashboard_widget',
|
||||
'WP Logbook',
|
||||
'Logbook',
|
||||
'wp_notes_dashboard_widget'
|
||||
);
|
||||
}
|
||||
@@ -1407,7 +1407,7 @@ function wp_notes_register_cpt() {
|
||||
$labels = array(
|
||||
'name' => __('Notes', 'a-wp-notes'),
|
||||
'singular_name' => __('Note', 'a-wp-notes'),
|
||||
'menu_name' => __('WP Logbook', 'a-wp-notes'),
|
||||
'menu_name' => __('Logbook', 'a-wp-notes'),
|
||||
'add_new' => __('Add New', 'a-wp-notes'),
|
||||
'add_new_item' => __('Add New Note', 'a-wp-notes'),
|
||||
'edit_item' => __('Edit Note', 'a-wp-notes'),
|
||||
@@ -1640,7 +1640,7 @@ function wp_notes_migration_notice() {
|
||||
?>
|
||||
<div class="notice notice-info is-dismissible">
|
||||
<p>
|
||||
<?php _e('WP Logbook needs to migrate your existing notes to the new storage system.', 'a-wp-notes'); ?>
|
||||
<?php _e('Logbook needs to migrate your existing notes to the new storage system.', 'a-wp-notes'); ?>
|
||||
<a href="<?php echo esc_url(admin_url('admin.php?page=wp-notes-settings&action=migrate')); ?>" class="button button-primary">
|
||||
<?php _e('Start Migration', 'a-wp-notes'); ?>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user