#32424 closed defect (bug) (invalid)
No space between attribute-value pairs in anchor elements in wp_nav_menu
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | |
Focuses: | Cc: |
Description
I used W3C Markup validator to check if my markup has any mess with it and it reported:
No space between attributes.
...<a class="items"href="http://...
That is how my markup renders in google chrome 42.0.3 on windows 8.1 (using inspector).
so I had a look at wp-includes/nav-menu-template.php file under line 144 where the markup is generated but I did not find the problem.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi @bijibuji, in line 147 there is a space being prepended to all attributes, so it's likely not a core bug. Feel free to ask in the support forums if your theme or a plugin might be responsible for that.