HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/wp-content/themes/jupiterx/lib/templates/structure/comment.php
<?php
/**
 * Echo the structural markup for each comment. It also calls the comment action hooks.
 *
 * @package JupiterX\Framework\Templates\Structure
 *
 * @since   1.0.0
 */

jupiterx_open_markup_e(
	'jupiterx_comment',
	'article',
	array(
		'id'        => 'comment-content-' . get_comment_ID(), // Automatically escaped.
		'class'     => 'jupiterx-comment',
		'itemprop'  => 'comment',
		'itemscope' => 'itemscope',
		'itemtype'  => 'http://schema.org/Comment',
	)
);

	jupiterx_open_markup_e( 'jupiterx_comment_header', 'header', [ 'class' => 'jupiterx-comment-header' ] );

		/**
		 * Fires in the comment header.
		 *
		 * @since 1.0.0
		 */
		do_action( 'jupiterx_comment_header' );

	jupiterx_close_markup_e( 'jupiterx_comment_header', 'header' );

	jupiterx_open_markup_e(
		'jupiterx_comment_body',
		'div',
		[
			'class'    => 'jupiterx-comment-body',
			'itemprop' => 'text',
		]
	);

		/**
		 * Fires in the comment body.
		 *
		 * @since 1.0.0
		 */
		do_action( 'jupiterx_comment_content' );

	jupiterx_close_markup_e( 'jupiterx_comment_body', 'div' );

jupiterx_close_markup_e( 'jupiterx_comment', 'article' ); // phpcs:ignore Generic.WhiteSpace.ScopeIndent.Incorrect -- Code structure mirrors HTML markup.