[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 14:53:48 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
-------------------------------------------------+-------------------------
Changes (by costdev):
* keywords: dev-feedback needs-codex has-patch => dev-feedback needs-codex
has-patch has-unit-tests
Comment:
Looks like it just needs some follow up on the `needs-codex` keyword to
adjust these pages:
1.
[https://developer.wordpress.org/reference/functions/register_post_type/#parameters
register_post_type() - $post_type]
2. [https://developer.wordpress.org/plugins/post-types/registering-custom-
post-types/#naming-best-practices Registering Custom Post Types - Naming
Best Practices: Notice #1]
3. [https://codex.wordpress.org/Database_Description#Table:_wp_posts
Database Description - Column: post_type]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54070#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list