| Server IP : 216.238.66.20 / Your IP : 216.73.216.51 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sweetheart.mx/htdocs/wp-content/plugins/backwpup/views/rating/ |
Upload File : |
<?php
/**
* Data from \WPMedia\BackWPup\Admin\RatingView::render
*
* @var array $data Notice configuration.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$rating_title = $data['title'] ?? '';
$rating_message = $data['message'] ?? '';
$dismiss_url = $data['dismiss_url'] ?? '';
$remind_url = $data['remind_url'] ?? '';
$leave_url = $data['leave_url'] ?? '';
$notice_id = $data['notice_id'] ?? 'backwpup_rate_notice';
?>
<div id="<?php echo esc_attr( $notice_id ); ?>"
class="notice notice-warning notice-inpsyde notice-backwpup_rate backwpup-typography"
data-notice-id="<?php echo esc_attr( $notice_id ); ?>"
>
<div class="notice-inpsyde__content">
<p class="text-primary-darker font-title font-bold text-2xl"><?php echo wp_kses_post( $rating_title ); ?></p>
<a class="closeIt bwpup-ajax-close"
data-bwpu-hide="<?php echo esc_attr( $notice_id ); ?>"
href="<?php echo esc_url( $dismiss_url ); ?>"
>
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice.', 'backwpup' ); ?></span>
</a>
<?php if ( '' !== $rating_message ) : ?>
<div class="notice-message">
<?php echo wp_kses_post( wpautop( esc_html( $rating_message ) ) ); ?>
</div>
<?php endif; ?>
<p>
<a class="button button-primary bwu-leave-review text-base"
href="<?php echo esc_url( $leave_url ); ?>"
target="_blank"
rel="noopener noreferrer"
>
<?php esc_html_e( 'Leave a review', 'backwpup' ); ?>
</a>
<a class="button button-secondary text-base" href="<?php echo esc_url( $remind_url ); ?>">
<?php esc_html_e( 'Remind me later', 'backwpup' ); ?>
</a>
</p>
</div>
</div>