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

Post Updated Messages

描述

Changes the default “Post updated” message to reflect the actual post type. It uses the labels set when a
post type is registered to display “My Post Type updated”.

Cow Picture

 ______________________________
< Post Updated Messages Rocks! >
 ------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

安装

  1. Upload the plugin files to the /wp-content/plugins/post-updated-messages directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

常见问题

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/post-updated-messages directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
What post types use the custom messages?

By default, all custom post types will use the custom messages. Posts and pages will use their default messages.

Can I exclude a post type from custom messages?

Sure. You can add your post type slug to the pum_post_types_nofilter filter to use the default ‘post’ messages.

Can I change a message?

Yep. Use the pum_post_messages filter to change the action words (e.g. “updated”, “published”), or pum_post_bulk_messages filter for the bulk actions (e.g “permanently deleted”, “moved to the Trash” ).

Can I change the post type name?

C’mon, you gotta do some work yourself! (hint: read the inline docs)

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

「Post Updated Messages」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Post Updated Messages」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.2

  • Fix warning when an updated post isn’t previewable.

1.0.1

  • Fixes a bug that made the post type singular name appear plural.

1.0.0

  • Initial release.