outstand/silent-update
最新稳定版本:1.1.1
Composer 安装命令:
composer require outstand/silent-update
包简介
README 文档
README
Update a post without changing its modified date in the Block Editor.
Description
When you fix a typo, adjust formatting, or make minor edits to a published post, you may not want the "Last Modified" date to change. This plugin adds a Silent Update button to the Block Editor that saves your changes while preserving the original modified date.
This is useful when:
- Fixing typos or formatting on older content
- Updating internal links or media without signaling a content change
- Preventing RSS feeds from resurfacing old posts after minor edits
- Keeping "Last Updated" displays accurate to actual content changes
How it works
- Open a published post in the Block Editor.
- Click the Silent Update button in the editor header toolbar.
- A sidebar opens showing the current date and the last modified date that will be preserved.
- Click Save silently to save your changes without updating the modified date.
The button only appears for published posts on supported post types.
Installation
Manual Installation
- Download the latest release ZIP from the Releases page.
- Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
Install with Composer
To include this plugin as a dependency in your Composer-managed WordPress project:
- Add the plugin to your project using the following command:
composer require outstand/silent-update
- Run
composer install. - Activate the plugin from your WordPress admin area or using WP-CLI.
Supported post types
By default, only the post post type is supported. You can extend this with the outstand_silent_update_post_types filter:
add_filter( 'outstand_silent_update_post_types', function ( $post_types ) { $post_types[] = 'page'; $post_types[] = 'my_custom_post_type'; return $post_types; } );
Requirements
- WordPress 6.7+
- PHP 8.2+
Changelog
All notable changes to this project are documented in CHANGELOG.md.
License
This project is licensed under the GPL-3.0-or-later.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-03-27