Title: Changelogify
Author: Eric J Swanson
Published: <strong>2025 年 11 月 23 日</strong>
Last modified: 2025 年 11 月 23 日

---

搜索插件

![](https://ps.w.org/changelogify/assets/banner-772x250.png?rev=3401118)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/changelogify/assets/icon-256x256.png?rev=3401111)

# Changelogify

 作者：[Eric J Swanson](https://profiles.wordpress.org/erics1337/)

[下载](https://downloads.wordpress.org/plugin/changelogify.zip)

 * [详情](https://cn.wordpress.org/plugins/changelogify/#description)
 * [评价](https://cn.wordpress.org/plugins/changelogify/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/changelogify/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/changelogify/#developers)

 [支持](https://wordpress.org/support/plugin/changelogify/)

## 描述

Changelogify is a comprehensive WordPress plugin that automatically tracks and generates
changelog releases from various event sources. It creates beautifully formatted 
changelogs with customizable sections (Added, Changed, Fixed, Removed, Security)
and provides multiple ways to display them on your site.

### Quick Start

 1. Install & Activate
 2.  * Upload `changelogify` to `/wp-content/plugins/` and activate it in WordPress
       Plugins.
 3. Configure Sources
 4.  * Go to WordPress Admin  Changelog  Settings.
     * Choose event sources (Simple History, WP Activity Log, or Native WordPress events).
 5. Generate Your First Release
 6.  * Go to Changelog  Generate Release.
     * Enter a version (e.g., `1.0.0`) and a date range (e.g., since last release),
       then click Generate.
     * Review the generated content and Publish.
 7. Display the Changelog
 8.  * Gutenberg block: add the “Changelog” block to any page/post and configure options.
     * Shortcode:
     * `wordpress
        [changelog limit="5" show_version="true" show_date="true"]

 * Archive: visit `/changelog/` to see all releases.

 1. Optional: Automation
 2.  * In Changelog  Settings, enable automatic generation and pick a frequency (daily/
       weekly via WP‑Cron).

### Features

### Event Source Adapters

 * **Simple History Integration** – Pull events from Simple History plugin
 * **WP Activity Log Integration** – Pull events from WP Activity Log plugin
 * **Native WordPress Events** – Fallback tracking for core WordPress events
    - Post publishing
    - Plugin activation/deactivation
    - Theme changes
    - WordPress updates

### Custom Post Type

 * Dedicated `changelog_release` post type
 * Version field for semantic versioning
 * Date range tracking
 * Organized into sections: Added, Changed, Fixed, Removed, Security

### Release Generator

 * Manual generation via admin button
 * Automatic generation via WP-Cron (configurable)
 * Date range options:
    - Since last release
    - Custom date range
    - Last 7/30 days
 * Smart version suggestion

### Public Display

 * **Gutenberg Block** – Add changelog to any page/post
 * **Shortcode** – `[changelog limit="5"]` with customizable attributes
 * **Archive Template** – Beautiful archive page for all releases
 * **Single Template** – Detailed view for each release

### Settings

 * Configure which event sources to use
 * Custom event-to-section mapping
 * Default date range preferences
 * WP-Cron automation settings

### Usage

### Generating a Release

 1. Navigate to **Changelog  Generate Release**
 2. Enter the version number (e.g., 1.0.0)
 3. Choose date range (since last release or custom)
 4. Click “Generate Release”
 5. Review and publish the generated changelog

### Displaying Changelogs

#### Using the Gutenberg Block

 1. Edit any page or post
 2. Add the “Changelog” block
 3. Configure display options in the sidebar
 4. Publish

#### Using the Shortcode

    ```
    `
    ```

[changelog limit=”5″ show_version=”true” show_date=”true”]
 `

**Attributes:**
 – `limit` – Number of releases to show (default: 5) – `show_version`–
Display version numbers (default: true) – `show_date` – Display dates (default: 
true) – `version` – Show specific version only

#### Archive Page

Visit `/changelog/` on your site to see all releases.

### Configuring Event Sources

 1. Go to **Changelog  Settings**
 2. Select which event sources to enable
 3. Configure custom event mappings
 4. Save settings

### Automatic Generation

Enable WP-Cron automation:
 1. Go to **Changelog  Settings** 2. Check “Enable automatic
changelog generation” 3. Choose frequency (daily or weekly) 4. Save settings

### Event Mapping

Map specific events to changelog sections:

**Example:**
 – `plugin_activated`  Changed – `plugin_uninstalled`  Removed – `wordpress_updated`
Security – `post_publish`  Added

### Requirements

 * WordPress 5.8 or higher
 * PHP 7.4 or higher

### Optional Dependencies

 * Simple History plugin (for enhanced event tracking)
 * WP Activity Log plugin (for enhanced event tracking)

### Filters & Hooks

### Filters

    ```
    `php
    ```

// Modify event categorization
 apply_filters(‘changelogify_event_category’, $category,
$event);

// Modify release content
 apply_filters(‘changelogify_release_content’, $content,
$sections); `

### Actions

    ```
    `php
    ```

// Before release generation
 do_action(‘changelogify_before_generate_release’, 
$version, $date_from, $date_to);

// After release generation
 do_action(‘changelogify_after_generate_release’, $post_id,
$version); `

### Development

### File Structure

    ```
    `
    ```

changelogify/
 ├── changelogify.php # Main plugin file ├── includes/ │ ├── class-
cpt-changelog-release.php │ ├── class-event-sources.php │ ├── class-release-generator.
php │ ├── class-settings.php │ └── class-public-display.php ├── assets/ │ ├── css/
│ │ └── public.css │ └── js/ │ └── block.js ├── templates/ │ ├── archive-changelog.
php │ └── single-changelog.php └── README.md `

### License

GPL v2 or later

### Author

Eric Swanson – [Portfolio](https://www.ericsdevportfolio.com)

### Support

For issues and feature requests, please visit [GitHub Issues](https://www.github.com/erics1337/changelogify/issues)

## 区块

该插件提供了 2 个区块.

 *   Sources Changelog
 *   Changelog

## 安装

 1. Upload the `changelogify` folder to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Changelog  Settings to configure event sources
 4. Go to Changelog  Generate Release to create your first changelog

## 评价

此插件暂无评价。

## 贡献者及开发者

「Changelogify」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Eric J Swanson ](https://profiles.wordpress.org/erics1337/)

[帮助将「Changelogify」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/changelogify)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/changelogify/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/changelogify/)，或通过[RSS](https://plugins.trac.wordpress.org/log/changelogify/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/changelogify/)。

## 更新日志

### 1.0.3

 * Fix: Added `/languages/` directory and tightened admin enqueue param sanitization
   to satisfy plugin header checks.
 * Fix: Replaced `wp_redirect()` calls with `wp_safe_redirect()` and ensured redirects
   exit immediately.
 * Improvement: Prefixed template-scoped globals and escaped table names in direct
   SQL queries for better security/compliance.

### 1.0.2

 * Change: Enqueue admin JavaScript via `admin_enqueue_scripts`; added `assets/js/
   admin.js`.
 * Improvement: Removed inline `<script>` tags in admin pages and replaced with 
   enqueued script for better performance and compatibility.
 * Improvement: Localized labels for mapping UI options via `wp_localize_script`.
 * Fix: Date range toggle on Generate page now handled without inline JS.

### 1.0.0

 * Initial release
 * Simple History integration
 * WP Activity Log integration
 * Native WordPress event tracking
 * Custom Post Type for releases
 * Release generator with manual and cron options
 * Gutenberg block
 * Shortcode support
 * Archive and single templates
 * Settings page

### 1.0.1

 * Fix: updated readme and security checks

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**10 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.8.10**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/changelogify/)
 *  [高级视图](https://cn.wordpress.org/plugins/changelogify/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/changelogify/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/changelogify/reviews/)

## 贡献者

 *   [ Eric J Swanson ](https://profiles.wordpress.org/erics1337/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/changelogify/)