[wp-trac] [WordPress Trac] #54070: Increase CPT "machine name" limit from its current maximum of 20 characters.

WordPress Trac noreply at wordpress.org
Fri Sep 3 13:30:04 UTC 2021


#54070: Increase CPT "machine name" limit from its current maximum of 20
characters.
------------------------------+-----------------------------
 Reporter:  taupecat          |      Owner:  (none)
     Type:  feature request   |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 In order to accommodate proper namespacing for Custom Post Types (as well
 as, potentially, transliteration from non-Latin alphabets), 20 characters
 is often not enough.

 Custom Taxonomies currently have a machine name limit of 32 characters. It
 would be nice to see CPTs have at least that many, although 64 characters
 would be even better.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54070>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list