Files
SIGE-WEB-snapshot/wp-content/plugins/notification/resources/templates/extension/activation-error.php

25 lines
797 B
PHP

<?php
/**
* Extension activation error notice
*
* @package notification
*
* @var callable(string $var_name, string $default=): mixed $get Variable getter.
* @var callable(string $var_name, string $default=): void $the Variable printer.
* @var callable(string $var_name, string $default=): void $the_esc Escaped variable printer.
* @var BracketSpace\Notification\Dependencies\Micropackage\Templates\Template $this Template instance.
*/
?>
<div class="error">
<p><?php echo wp_kses_post( $get( 'message' ) ); ?></p>
<?php if ( ! empty( $get( 'extensions' ) ) ) : ?>
<ul style="list-style: disc; padding-left: 20px;">
<?php foreach ( $get( 'extensions' ) as $extension ) : ?>
<li><?php echo esc_html( $extension ); ?></li>
<?php endforeach; ?>
</ul>
<?php endif ?>
</div>