Opened 4 years ago
Closed 4 years ago
#50265 closed enhancement (duplicate)
Increase varchar 20 limit when registering a post type name
Reported by: | ninetyninew | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
We attempted to add a post type the other day which was more than 20 characters, this resulted in the post type not being registered as per documentation: https://codex.wordpress.org/Function_Reference/register_post_type
Limit is var char 20.
There are scenarios where you want to use a unique prefix and this combined with a descriptive name of the post type exceeds 20 characters.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hello @ninetyninew, welcome to WordPress Trac!
Thanks for the ticket. We're already tracking this request in #37104 which is currently closed for maybelater. Please feel free to join discussion there.