Opened 11 years ago
Closed 11 years ago
#32379 closed defect (bug) (duplicate)
Updating private post type shows public link in message
| Reported by: | ashworthcreative | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Whenever you update or publish a post from a private post type, the message "Post updated. View post" is displayed, with the text "View post" as a permalink to the current post. This message ignores the singular_name and view_item labels for the post type, and the link itself is unnecessary and for private post types, where it will always link to a 404 page.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hey ashworthcreative,
In Case of CPT one can use
post_updated_messagesfilter to add own message when custom post is updated also while registering post type if you have set'public' => falseyou won't see permalink.