I have a theme which, curiously, uses underscores (e.g. bingo_ruby_menu_offcanvas) for the menu slugs rather than dashes, and trying to query those gives me 404s. This PR adds the underscore character to the regular expression matching the menu slug.
I have a theme which, curiously, uses underscores (e.g.
bingo_ruby_menu_offcanvas
) for the menu slugs rather than dashes, and trying to query those gives me 404s. This PR adds the underscore character to the regular expression matching the menu slug.