[wp-trac] [WordPress Trac] #14649: Throw error when registering a Post Type longer than 20 chars

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 23 16:55:51 UTC 2010


#14649: Throw error when registering a Post Type longer than 20 chars
--------------------------+-------------------------------------------------
 Reporter:  batmoo        |       Owner:                   
     Type:  defect (bug)  |      Status:  new              
 Priority:  normal        |   Milestone:  Awaiting Review  
Component:  Post Types    |     Version:                   
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by stephdau):

 {{{register_post_type( 'a_really_long_post_type_namespace', ... );}}}

 The above will end up having "a_really_long_post_" only in the DB in
 post_type.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14649#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list