Minor Edits
开发者 |
geekysoft
|
更新时间 |
2019年1月9日 00:53 |
PHP版本: |
4.4.1 及以上 |
WordPress版本: |
5.0.2 |
版权: |
GPLv3 |
版权网址: |
版权信息
|
详情介绍:
Whenever you make any edits to your posts, WordPress will set the post’s “last modified/updated” date to the time of your edit. However, neither your readers nor most publishing protocols don’t think of your posts as updated just because you fixed a few small spelling mistake or appended a new set of tags.
The Minor Edits makes an automatic determination of whether an edit is significant or insignificant. When a edit is determined to be significant, the last modified date is set to now; but when an edit is determined to be insignificant the last modified date is left unchanged.
This behaviour lets you use the last modification time in your themes and syndication feed with more authority. When something says it’s updated, it means the post actually has been updated significantly rather than just having a tiny spelling correction or a fixed link.
The Minor Edits plugin is an excellent companion for WordPress themes and widgets that displays a list of recently updated posts; or automatically prefixes updated posts with “Updated:”.
安装:
- Upload the plugin files to the
/wp-content/plugins/minor-edits/
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Review the available options on the options page
更新日志:
1.0.2
- Added a new options page that lets you customize the number of characters that needs to be different for a change to be considered different.
- Changed the number of characters that must be different from 40 to 50.
- Added a new filter
minor_edits_text_diff_filter
for modifying strings prior to comparison for differences. (See HACKING file.)
0.9.3
- Resolved a problem where modification dates weren’t updated when publishing posts in the future.
0.9.2
- New action hook for developers:
minor_edits_post_status_minor_update($new_post, $old_post)
fired after minor updates (modified time not updated).
- New action hook for developers:
minor_edits_post_status_significant_update($new_post, $old_post)
fired for significant updates.
0.9
0.8