Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#22398 closed defect (bug) (duplicate)

Private Post Types Display "View Post" link in Messages

Reported by: mrwweb Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version: 3.4.2
Severity: normal Keywords:
Cc: Focuses:

Description

One helpful attribute of post types with 'public' => 'false' is it hides the the "View Post" link in the admin bar, the permalink, etc.

However, the "View Post" link is still visible in the update messages. This should not be the case.

Change History (2)

#1 @mrwweb
14 years ago

In thinking through how this might get patched, I'm a little confused. Presumably a fix involves changing the $messages array, but translatable strings can't have variables in them. I think that may mean adding a new set of values to the array to handle private posts. What do others think?

#2 @SergeyBiryukov
14 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Duplicate of #17609.

Note: See TracTickets for help on using tickets.