HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/www/wp-content/plugins/kirki/includes/Frontend/Preview/templates/collection.view.php
<?php

/**
 * Collection view
 *
 * @package kirki
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>

<?php
$encoded_data = json_encode( $vars['data'] );
$attributes   = $vars['attributes'];

// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo '<' . esc_attr( $vars['tag'] ) . ' ' . $attributes . '>';
echo '<textarea style="display: none" ' . $attributes . '>' . esc_textarea( $encoded_data ) . '</textarea>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
<?php foreach ( $vars['children'] as $child ) : ?>
	<?php
	/**
	 * $child is already rendered HTML and should be echoed directly.
	 */
	// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
	echo $child;
	?>
<?php endforeach ?>
<?php
echo '</' . esc_attr( $vars['tag'] ) . '>';