* @license http://opensource.org/licenses/gpl-2.0.php GPL v2 or later * @link https://github.com/ediamin/wp-bootstrap-comment-walker */ class Bootstrap_Comment_Walker extends \Walker_Comment { /** * @inheritdoc * @since 0.6 */ protected function html5_comment($comment, $depth, $args) { $tag = ('div' === $args['style']) ? 'div' : 'li'; ?> < id="comment-" has_children ? 'parent media' : 'media'); ?> itemprop="comment" itemscope itemtype="http://schema.org/UserComments">
comment_approved) : ?>