[wp-trac] [WordPress Trac] #33125: Reserved terms
WordPress Trac
noreply at wordpress.org
Sat Jul 25 22:26:15 UTC 2015
#33125: Reserved terms
-------------------------------+-----------------------------
Reporter: jmlapam | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
Hi, I know there's a list of reserved terms here :
https://codex.wordpress.org/Reserved_Terms
The problem is if I don't know this page I can break all the thing easily.
If one uses e.g keyword "action" as slug for a custom post type which is
not in the current list of reserved terms, you get strange bugs. I mean
site do not break, you can even regrister taxonomies on this post type but
requests in admin might break. For example, search in post listings is no
longer possible.
It could be safer to trigger an error. The caveat is that a list of
reserved terms must be set in code so more maintenance...
What do you think about it ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33125>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list