salcode / bootstrap-genesis

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

Remove support for XHTML markup #155

Open salcode opened 8 years ago

salcode commented 8 years ago

Bootstrap Genesis is an HTML5 theme. It does not make sense to define XHTML values.

e.g. in lib/pagination-prev-next.php we have the following code

    $nav = genesis_markup( array(
        'html5'   => '<nav %s><ul class="pager">',
        'xhtml'   => '<div class="navigation"><ul class="pager">',
        'context' => 'archive-pagination',
        'echo'    => false,
    ) );

and we can remove the xhtml line