salcode / bootstrap-genesis

WordPress Genesis Child Theme setup to use Bootstrap, Sass, and Grunt
MIT License
184 stars 63 forks source link

Fix genesis_markup() #123

Closed bryanwillis closed 8 years ago

bryanwillis commented 8 years ago

Missing markup for closing tag when rendering xhtml:

genesis_html5() ? '</ul></nav>' : '</ul></div>'

Optionally it can be done like this as well, but the above seems to be the standard method by genesis now,

genesis_markup( array(
    'html5'   => '</ul></nav>',
    'xhtml'   => '</ul></div>',
 ) )