Describe your use case and the problem you are facing
When a new post type is created with the scaffold command, only the post_updated_messages hook callback will be generated. If a post type entry is updated using the "bulk editing" feature, either "post" or "page" will be shown in the update messages.
Describe the solution you'd like
By extending the post type scaffolding template with the bulk_post_updated_messages hook callback, those bulk functions will also have a message with the correct post type name.
Feature Request
Describe your use case and the problem you are facing
When a new post type is created with the
scaffold
command, only thepost_updated_messages
hook callback will be generated. If a post type entry is updated using the "bulk editing" feature, either "post" or "page" will be shown in the update messages.Describe the solution you'd like
By extending the post type scaffolding template with the
bulk_post_updated_messages
hook callback, those bulk functions will also have a message with the correct post type name.