#12929 closed enhancement (duplicate)
Reserved names for taxonomies
Reported by: | scribu | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
To prevent issues like #12917, register_taxonomy() should check a list of reserved names, before registering the taxonomy.
Change History (12)
#2
@
14 years ago
- Cc mikeschinkel@… added
Should new reserved names moving forward be prefixed with underscore, maybe?
#9
@
12 years ago
I spent some time thinking about this one, and decided it'd make a good Debug Bar extension. There's a hook in register_taxonomy that can be used to setup checks for reserved names. Post type conflicts should be checked later in the execution. Debug Bar would be a great place to output the results.
Note: See
TracTickets for help on using
tickets.
First of all, the list should contain the names of registered post types. I know from experience that having the same name for a post type and for a taxonomy leads to trouble.