#29375 closed defect (bug) (duplicate)
When publishing a non-public post type post
| Reported by: | slobodanmanic | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description (last modified by )
A similar problem was fixed in [24799] (removes preview button for non-public post types), but when you first publish a non-public post there's still that "Post published. View post" notice.
Attachments (2)
Change History (9)
#1
@
12 years ago
#2
@
12 years ago
This fixes the issue, but there's some duplicate code, I'd love to hear a second opinion on it.
#3
@
12 years ago
- Focuses administration added
- Keywords has-patch added
Hi, thanks for the ticket. This issue has been raised several times before in other tickets, though in #17609 it was suggested to create a new ticket for updating these messages. This should suffice.
I think @jfarthing84 makes a good point in comment:33:ticket:17609 in that we should probably be checking publicly_queryable instead of public as the former is really what we're dealing with. And if publicly_queryable isn't set, it falls back to the value of public anyway.
29375.2.diff addresses your DRY concerns.
Related: #17609.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)

Same problem with "Post updated." and "Post draft updated.", working on a patch for this.