-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect class for current page ancestor in _menus.scss #1073
Comments
@aziznatour Did you have a look at #1031? |
@bahiirwa I have now. Why does WordPress generate a hyphened class if it's supposed to be underscores? I'm confused. |
Been looking into this. Maybe you can look into the differences here. |
WordPress 4.7.1
This seems to be the code responsible for outputting the class in The underscore one is for
I'm not sure if the docs are inaccurate or if something is being overridden :| |
@aziznatour @bahiirwa I'm not sure what the issue here is. |
@joshmcrty that sounds like the ideal solution, maybe something as the following:
|
+1 for the solution.
|
@aziznatour @bahiirwa actually I was saying that the ideal solution is already in place. All |
Thanks for opening this issue @aziznatour! As @joshmcrty mentioned, this is already accounted for and not a problem, so I'll close this out. |
The following is incorrect:
.current_page_ancestor > a
File: /sass/navigation/_menus.scss
Line: 68
It should be
.current-page-ancestor > a
(hyphens instead of underscore)The text was updated successfully, but these errors were encountered: