Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wpforms-.../template.../admin/payments/single
File: payment-details.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Single Payment page - Payment details template for single and subscription data.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.8.2
[4] Fix | Delete
* @since 1.8.6 Added $class variable.
[5] Fix | Delete
*
[6] Fix | Delete
* @var string $id Block id.
[7] Fix | Delete
* @var string $class Extra Class based on type of payment.
[8] Fix | Delete
* @var string $title Block title.
[9] Fix | Delete
* @var string $payment_id Payment id.
[10] Fix | Delete
* @var string $gateway_link Link to gateway payment details.
[11] Fix | Delete
* @var string $gateway_text Gateway link text.
[12] Fix | Delete
* @var string $gateway_name Gateway name.
[13] Fix | Delete
* @var string $gateway_action_text Gateway action link text.
[14] Fix | Delete
* @var string $gateway_action_link Gateway action link.
[15] Fix | Delete
* @var string $gateway_action_slug Gateway action slug.
[16] Fix | Delete
* @var int $payment_id_raw Payment id raw.
[17] Fix | Delete
* @var string $status Payment or Subscription status.
[18] Fix | Delete
* @var string $status_label Payment or Subscription status label.
[19] Fix | Delete
* @var bool $disabled Is gateway action disabled.
[20] Fix | Delete
* @var array $stat_cards Stat cards to display.
[21] Fix | Delete
*/
[22] Fix | Delete
[23] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[24] Fix | Delete
exit;
[25] Fix | Delete
}
[26] Fix | Delete
?>
[27] Fix | Delete
[28] Fix | Delete
<div id="<?php echo esc_attr( $id ); ?>" class="postbox <?php echo esc_attr( $class ); ?>">
[29] Fix | Delete
[30] Fix | Delete
<div class="postbox-header">
[31] Fix | Delete
<h2 class="hndle">
[32] Fix | Delete
<span><?php echo esc_html( $title ); ?></span>
[33] Fix | Delete
<?php if ( isset( $payment_id ) ) : ?>
[34] Fix | Delete
<span class="wpforms-payment-id"><?php echo esc_html( $payment_id ); ?></span>
[35] Fix | Delete
<?php endif; ?>
[36] Fix | Delete
</h2>
[37] Fix | Delete
</div>
[38] Fix | Delete
[39] Fix | Delete
<div class="inside">
[40] Fix | Delete
<ul class="wpforms-payments-details-list">
[41] Fix | Delete
<?php foreach ( $stat_cards as $key => $stat_card ) : ?>
[42] Fix | Delete
<li class="wpforms-payments-details-stat-card">
[43] Fix | Delete
<button class="<?php echo wpforms_sanitize_classes( $stat_card['button_classes'], true ); ?>" >
[44] Fix | Delete
<span class="stat-card-label"><?php echo esc_html( $stat_card['label'] ); ?></span>
[45] Fix | Delete
<span class="stat-card-value">
[46] Fix | Delete
<?php echo ! empty( $stat_card['value'] ) ? esc_html( $stat_card['value'] ) : esc_html__( 'N/A', 'wpforms-lite' ); ?>
[47] Fix | Delete
<?php if ( ! empty( $stat_card['tooltip'] ) ) : ?>
[48] Fix | Delete
<i class="wpforms-single-payment-tooltip" data-tooltip-content="#wpforms-single-payment-tooltip-content-<?php echo esc_attr( $key ); ?>"></i>
[49] Fix | Delete
<span id="wpforms-single-payment-tooltip-content-<?php echo esc_attr( $key ); ?>" class="wpforms-single-payment-tooltip-content"><?php echo wp_kses_post( $stat_card['tooltip'] ); ?></span>
[50] Fix | Delete
<?php endif; ?>
[51] Fix | Delete
</span>
[52] Fix | Delete
</button>
[53] Fix | Delete
</li>
[54] Fix | Delete
<?php endforeach; ?>
[55] Fix | Delete
</ul>
[56] Fix | Delete
</div>
[57] Fix | Delete
[58] Fix | Delete
<div class="wpforms-payment-actions">
[59] Fix | Delete
<div class="status">
[60] Fix | Delete
<span class="wpforms-payment-action-status-label"><?php esc_html_e( 'Status:', 'wpforms-lite' ); ?></span>
[61] Fix | Delete
<span class="wpforms-payment-action-status-value <?php echo esc_attr( $status ); ?>"><?php echo wp_kses( $status_label, [ 'span' => [] ] ); ?></span>
[62] Fix | Delete
</div>
[63] Fix | Delete
<?php if ( $gateway_link ) : ?>
[64] Fix | Delete
<div class="actions">
[65] Fix | Delete
<a href="<?php echo esc_url( $gateway_link ); ?>" class="link" target="_blank" rel="noopener noreferrer">
[66] Fix | Delete
<?php echo esc_html( $gateway_text ); ?>
[67] Fix | Delete
</a>
[68] Fix | Delete
<?php if ( ! $disabled ) : ?>
[69] Fix | Delete
<a href="<?php echo esc_url( $gateway_action_link ); ?>"
[70] Fix | Delete
class="button wpforms-payments-single-action"
[71] Fix | Delete
target="_blank"
[72] Fix | Delete
rel="noopener noreferrer"
[73] Fix | Delete
id="wpforms-payments-single-<?php echo esc_attr( $gateway_action_slug ); ?>"
[74] Fix | Delete
data-action-id="<?php echo esc_attr( $payment_id_raw ); ?>"
[75] Fix | Delete
data-gateway="<?php echo esc_attr( $gateway_name ); ?>"
[76] Fix | Delete
data-action-type="<?php echo esc_attr( $gateway_action_slug ); ?>">
[77] Fix | Delete
<?php echo esc_html( $gateway_action_text ); ?>
[78] Fix | Delete
</a>
[79] Fix | Delete
<?php endif; ?>
[80] Fix | Delete
</div>
[81] Fix | Delete
<?php endif; ?>
[82] Fix | Delete
<div class="clear"></div>
[83] Fix | Delete
</div>
[84] Fix | Delete
</div>
[85] Fix | Delete
[86] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function