Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#24041 closed defect (bug) (duplicate)

Slug meta box should be added as supported parameter for CPT and post_type_support

Reported by: wycks Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version: 3.5.1
Severity: normal Keywords: 2nd-opinion
Cc: Focuses:

Description

When registering a CPT there is no parameter to remove the slug meta box.

Setting:

 'public' => false, 
  //Removes the permalink edit box but does not remove the slug meta box
 'rewrite' => false,
  //Also does not remove the slug meta box and still allows for editing the slug?

Possible solution:
Add a new supports parameter 'supports' => array('slug-box'), when registering a CPT

Furthermore it is confusing in conjunction with the edit permalink problem(related #18523 ).

Change History (3)

#1 @wycks
14 years ago

  • Keywords reporter-feedback removed

#2 @helen
14 years ago

Can we work on just removing that metabox entirely, as suggested in #18523?

#3 @nacin
14 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

The slug meta box is required to support permalink changes using the fancier UI near the title field. So, this is a duplicate of #18523.

Note: See TracTickets for help on using tickets.