Changes between Initial Version and Version 1 of Ticket #35267
- Timestamp:
- 12/30/2015 06:55:43 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35267
- Property Keywords has-screenshots added
-
Ticket #35267 – Description
initial v1 11 11 I discovered that I can register a CPT or Custom Taxonomy using the slug "custom". So that on the front-end the CPT/Custom Taxonomy menu items get a class of '''.menu-item-object-custom''', therefore conflicting with that class used for custom links instead. I get the impression that the class for custom links and class for CPTs/Custom Taxonomies should be entirely different entities? Or if anything, the slug "custom" shouldn't be allowed to be registered or it may conflict due to custom links using the same class. 12 12 13 See lines around 536 of wp-includes/nav-menu-template.phpfor reference.13 See [source:/tags/4.4/src/wp-includes/nav-menu-template.php#L536] for reference.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)