WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18956 closed defect (bug) (duplicate)

Remove 'Preview' buttons from CPTs when not public

Reported by: picklewagon Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: UI Keywords:
Focuses: Cc:

Description

When setting a CPTs 'public' argument to false, the 'Preview' link in the list for that CPT does not show. But when editing an instance of the CPT, the 'Preview Changes' button shows. When creating a new instance of the CPT, the 'Preview' button shows as well. In order to make these consistent, these buttons should be removed.

Change History (2)

comment:1 @johnbillion3 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

comment:2 @kawauso3 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.