Opened 12 years ago
Closed 12 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: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5.1 |
Component: | Posts, Post Types | Keywords: | 2nd-opinion |
Focuses: | Cc: |
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)
Note: See
TracTickets for help on using
tickets.
Can we work on just removing that metabox entirely, as suggested in #18523?