[wp-trac] [WordPress Trac] #50265: Increase varchar 20 limit when registering a post type name
WordPress Trac
noreply at wordpress.org
Wed May 27 16:56:46 UTC 2020
#50265: Increase varchar 20 limit when registering a post type name
-------------------------+-----------------------------
Reporter: ninetyninew | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.4.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50265>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list