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

WordPress Trac noreply at wordpress.org
Thu Sep 16 15:10:44 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:  Database                             |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback needs-codex has-patch   |     Focuses:  coding-
  has-unit-tests                                 |  standards
-------------------------------------------------+-------------------------

Comment (by costdev):

 It's worth noting that #37104 was set as `maybelater` due to a lack of
 input for several years rather than any problem with the feature request
 itself.

 I agree that it would be good, both for insight and for posterity, to see
 an example or two relating to:

 >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

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


More information about the wp-trac mailing list