[wp-trac] [WordPress Trac] #28683: Notify developers when register_post_type() fails because $post_type exceeds 20 characters
WordPress Trac
noreply at wordpress.org
Sun Jun 29 21:25:45 UTC 2014
#28683: Notify developers when register_post_type() fails because $post_type
exceeds 20 characters
------------------------------------+------------------
Reporter: mattheweppelsheimer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Posts, Post Types | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+------------------
Comment (by jorbin):
This seems like a great use case for `_doing_it_wrong`.
A two minor things that need to be cleaned up in the patch:
The new line 1246 has an extra space at the front of it.
4.0 as the version should be passed in as a string rather then as a float.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28683#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list