Make WordPress Core

Opened 11 years ago

Closed 9 years ago

#24669 closed feature request (maybelater)

"Visibility" should utilise post type features

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: needs-patch
Focuses: Cc:


The "Visibility" selector on the post editing screen isn't always desirable for custom post types. In fact, it doesn't make a lot of sense at all for non-public post types.

'Password protected' and 'Private' should both be two separate post type features (both enabled by default) that can be disabled. If neither are supported by the post type, the Visibility section in the post publish meta box will not be shown at all.

The corresponding fields on the Quick Edit screen will also be affected by support for these features.

Patch in progress.

Change History (6)

#1 @helen
11 years ago

Related: #12706. Related/duplicate-ish? #12567

#2 @johnbillion
11 years ago

Ah yes there is some overlap with #12567. That ticket also covers post statuses in general. The complication comes with the post password, which is grouped in with the Private status selector even though post passwords aren't related to post status.

Maybe post password needs to be a post type feature, and the 'private' status a status that can be enabled/disabled. I'll finish off my patch and see where we get.

#3 @DrewAPicture
11 years ago

  • Cc xoodrew@… added

#4 @meloniq
11 years ago

  • Cc meloniq@… added

#5 @DrewAPicture
9 years ago

@johnbillion: Are you planning to follow up here with a patch? If not, let's make a decision on whether to pursue this or close it.

#6 @johnbillion
9 years ago

  • Keywords needs-patch added
  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed
  • Type changed from enhancement to feature request
Note: See TracTickets for help on using tickets.