[wp-trac] [WordPress Trac] #14761: unregister_post_type()
WordPress Trac
noreply at wordpress.org
Sun Feb 7 03:13:36 UTC 2016
#14761: unregister_post_type()
-------------------------------------------------+-------------------------
Reporter: nacin | Owner: swissspidy
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.5
Component: Posts, Post Types | Version: 2.9
Severity: normal | Resolution:
Keywords: early has-patch has-unit-tests | Focuses:
commit |
-------------------------------------------------+-------------------------
Comment (by johnjamesjacoby):
Replying to [comment:44 DrewAPicture]:
I don't disagree with the semantics, but WordPress already uses
`unregister_` in a few other places, and does not use `deregister_`
anywhere.
If semantics now matters more than consistency, we should open a new
ticket to deprecate semantically incorrect function names and use them as
wrappers for newly named ones.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14761#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list