bibhamrokhanpin/wp-content/plugins/litespeed-cache/tpl/banner/new_version_dev.tpl.php

32 lines
1.3 KiB
PHP
Raw Normal View History

2024-04-10 12:01:06 +00:00
<?php
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
?>
<div class="litespeed-wrap notice notice-warning litespeed-banner-promo-full">
<div class="litespeed-banner-promo-logo"></div>
<div class="litespeed-banner-promo-content">
<h3 class="litespeed-banner-title litespeed-top15"><?php echo __( 'LiteSpeed Cache', 'litespeed-cache' ) ; ?>: <?php echo __( 'New Developer Version Available!', 'litespeed-cache' ) ; ?></h3>
<div class="litespeed-banner-description">
<div class="litespeed-banner-description-padding-right-15">
<p class="litespeed-banner-desciption-content">
<?php echo sprintf( __( 'New developer version %s is available now.', 'litespeed-cache' ), 'v' . $this->_summary[ 'version.dev' ] ) ; ?>
</p>
</div>
<div class="litespeed-row-flex litespeed-banner-description">
<div class="litespeed-banner-description-padding-right-15">
<?php $url = Utility::build_url( Router::ACTION_DEBUG2, Debug2::TYPE_BETA_TEST, false, null, array( Debug2::BETA_TEST_URL => 'dev' ) ) ; ?>
<a href="<?php echo $url ; ?>" class="button litespeed-btn-success litespeed-btn-mini">
<i class="dashicons dashicons-image-rotate">&nbsp;</i>
<?php echo __( 'Upgrade', 'litespeed-cache' ) ; ?>
</a>
</div>
</div>
</div>
</div>
</div>