[wp-trac] [WordPress Trac] #16424: Unable to publish new post of custom type if the custom type name is too long

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 31 18:15:31 UTC 2011


#16424: Unable to publish new post  of custom type if the custom type name is too
long
--------------------------+-----------------------------
 Reporter:  biq           |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.0.4
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 If a custom type is created with name that is longer than 25 characters
 (wp_posts.post_type size is 25) then, when user wants to create a new post
 of that type,  the button "Publish" is replaced with "Submit for review".
 This "Submit for review" does not work correctly (of course).

 The supposed behaviour : Check somewhere the length of the custom type
 name and show a readable error.

 The current behaviour : The user is confused.. there are multiple causes
 for "Submit for review" symptom, like full DB, broken DB table, etc. ....
 user(site admin) is lost.

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


More information about the wp-trac mailing list