[wp-trac] [WordPress Trac] #12895: Pretty permalink not shown for draft custom post type

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 14:54:19 UTC 2010


#12895: Pretty permalink not shown for draft custom post type
--------------------------+-------------------------------------------------
 Reporter:  duck_         |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  3.0                    
Component:  Post Types    |     Version:  3.0                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12895>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list