Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#12895 closed defect (bug) (duplicate)

Pretty permalink not shown for draft custom post type

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

Description

Create a new custom post type which includes a rewrite format, e.g. 'rewrite' => array('slug' => 'album'), give it a title and wait for permalink to be generated.

Actual: Default style permalink shown, e.g. ?post_type=album&p=69

Expected: Pretty permalink, e.g. album/back-in-black/

Same behaviour is noticed when going to edit a custom post type which is just a draft.

Attachments (1)

link-template.php.diff (566 bytes) - added by duck_ 15 years ago.

Download all attachments as: .zip

Change History (3)

#1 @duck_
15 years ago

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

Whoops didn't notice #12870

#2 @nacin
15 years ago

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