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/wp-conte.../plugins/wpforms-.../template.../admin/challeng...
File: embed.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Challenge HTML template specific to form embed page.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.6.2
[4] Fix | Delete
*
[5] Fix | Delete
* @var int $minutes
[6] Fix | Delete
* @var string $congrats_popup_footer Congrats popup footer HTML.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[10] Fix | Delete
exit;
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
?>
[14] Fix | Delete
<div class="wpforms-challenge-tooltips">
[15] Fix | Delete
<div id="tooltip-content5">
[16] Fix | Delete
<?php if ( wpforms_is_gutenberg_active() ) : // Gutenberg content. ?>
[17] Fix | Delete
<h3><?php esc_html_e( 'Add a Block', 'wpforms-lite' ); ?></h3>
[18] Fix | Delete
<p>
[19] Fix | Delete
<?php
[20] Fix | Delete
printf(
[21] Fix | Delete
wp_kses(
[22] Fix | Delete
/* translators: %s - link to the WPForms documentation page. */
[23] Fix | Delete
__( 'Click the plus button, search for WPForms, click the block to<br>embed it. <a href="%s" target="_blank" rel="noopener noreferrer">Learn More</a>', 'wpforms-lite' ),
[24] Fix | Delete
[
[25] Fix | Delete
'a' => [
[26] Fix | Delete
'href' => [],
[27] Fix | Delete
'rel' => [],
[28] Fix | Delete
'target' => [],
[29] Fix | Delete
],
[30] Fix | Delete
'br' => [],
[31] Fix | Delete
]
[32] Fix | Delete
),
[33] Fix | Delete
esc_url( wpforms_utm_link( 'https://wpforms.com/docs/creating-first-form/#display-form', 'WPForms Challenge Block', 'Add A Block' ) )
[34] Fix | Delete
);
[35] Fix | Delete
?>
[36] Fix | Delete
</p>
[37] Fix | Delete
<i class="wpforms-challenge-tooltips-red-arrow"></i>
[38] Fix | Delete
<?php else : ?>
[39] Fix | Delete
<h3><?php esc_html_e( 'Embed in a Page', 'wpforms-lite' ); ?></h3>
[40] Fix | Delete
<p><?php esc_html_e( 'Click the “Add Form” button, select your form, then add the embed code.', 'wpforms-lite' ); ?></p>
[41] Fix | Delete
<?php endif; ?>
[42] Fix | Delete
<button type="button" class="wpforms-challenge-step5-done wpforms-challenge-done-btn"><?php esc_html_e( 'Done', 'wpforms-lite' ); ?></button>
[43] Fix | Delete
</div>
[44] Fix | Delete
</div>
[45] Fix | Delete
[46] Fix | Delete
<div class="wpforms-challenge-popup-container">
[47] Fix | Delete
<div id="wpforms-challenge-congrats-popup" class="wpforms-challenge-popup wpforms-challenge-popup-congrats">
[48] Fix | Delete
<i class="wpforms-challenge-popup-close fa fa-times-circle fa-lg"></i>
[49] Fix | Delete
<div class="wpforms-challenge-popup-content">
[50] Fix | Delete
<h3>
[51] Fix | Delete
<?php esc_html_e( 'Congrats, You Did It!', 'wpforms-lite' ); ?>
[52] Fix | Delete
<img src="<?php echo esc_url( WPFORMS_PLUGIN_URL . 'assets/images/challenge/party-popper.png' ); ?>" alt="">
[53] Fix | Delete
</h3>
[54] Fix | Delete
<p>
[55] Fix | Delete
<?php
[56] Fix | Delete
echo wp_kses(
[57] Fix | Delete
sprintf(
[58] Fix | Delete
/* translators: %1$s - number of minutes in HTML container, %2$s - singular or plural form of 'minute', %3$s - number of seconds in HTML container, %4$s - singular or plural form of 'second', %5$s - 5 rating star symbols HTML. */
[59] Fix | Delete
__( 'You completed the WPForms Challenge in <b>%1$s %2$s %3$s %4$s</b>. Share your success story with other WPForms users and help us spread the word <b>by giving WPForms a 5-star rating (%5$s) on WordPress.org</b>. Thanks for your support and we look forward to bringing you more awesome features.', 'wpforms-lite' ),
[60] Fix | Delete
'<span id="wpforms-challenge-congrats-minutes"></span>',
[61] Fix | Delete
_n( 'minute', 'minutes', absint( $minutes ), 'wpforms-lite' ),
[62] Fix | Delete
'<span id="wpforms-challenge-congrats-seconds"></span>',
[63] Fix | Delete
_n( 'second', 'seconds', absint( $minutes ), 'wpforms-lite' ),
[64] Fix | Delete
'<span class="rating-stars"><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i></span>'
[65] Fix | Delete
),
[66] Fix | Delete
[
[67] Fix | Delete
'span' => [
[68] Fix | Delete
'id' => [],
[69] Fix | Delete
'class' => [],
[70] Fix | Delete
],
[71] Fix | Delete
'b' => [],
[72] Fix | Delete
'i' => [
[73] Fix | Delete
'class' => [],
[74] Fix | Delete
],
[75] Fix | Delete
]
[76] Fix | Delete
);
[77] Fix | Delete
?>
[78] Fix | Delete
</p>
[79] Fix | Delete
<a href="https://wordpress.org/support/plugin/wpforms-lite/reviews/?filter=5#new-post" class="wpforms-challenge-popup-btn wpforms-challenge-popup-rate-btn" target="_blank" rel="noopener"><?php esc_html_e( 'Rate WPForms on WordPress.org', 'wpforms-lite' ); ?>
[80] Fix | Delete
<span class="dashicons dashicons-external"></span></a>
[81] Fix | Delete
</div>
[82] Fix | Delete
<?php echo $congrats_popup_footer; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
[83] Fix | Delete
</div>
[84] Fix | Delete
[85] Fix | Delete
<div id="wpforms-challenge-contact-popup" class="wpforms-challenge-popup">
[86] Fix | Delete
<div class="wpforms-challenge-popup-header wpforms-challenge-popup-header-contact">
[87] Fix | Delete
<i class="wpforms-challenge-popup-close fa fa-times-circle fa-lg"></i>
[88] Fix | Delete
</div>
[89] Fix | Delete
<div class="wpforms-challenge-popup-content">
[90] Fix | Delete
<form id="wpforms-challenge-contact-form">
[91] Fix | Delete
<h3><?php esc_html_e( 'Do you need more help?', 'wpforms-lite' ); ?></h3>
[92] Fix | Delete
<p>
[93] Fix | Delete
<?php
[94] Fix | Delete
echo wp_kses(
[95] Fix | Delete
sprintf(
[96] Fix | Delete
/* translators: %1$d - number of minutes, %2$s - singular or plural form of 'minute'. */
[97] Fix | Delete
__( 'We\'re sorry that it took longer than %1$d %2$s to publish your form. Our goal is to create the most beginner-friendly WordPress form plugin.<br>How can we help you to be successful? Please send us your feedback. Our support team is standing by to help.', 'wpforms-lite' ),
[98] Fix | Delete
absint( $minutes ),
[99] Fix | Delete
_n( 'minute', 'minutes', absint( $minutes ), 'wpforms-lite' )
[100] Fix | Delete
),
[101] Fix | Delete
[ 'br' => [] ]
[102] Fix | Delete
);
[103] Fix | Delete
?>
[104] Fix | Delete
</p>
[105] Fix | Delete
<textarea class="wpforms-challenge-contact-message"></textarea>
[106] Fix | Delete
<?php if ( ! wpforms()->is_pro() ) { ?>
[107] Fix | Delete
<label>
[108] Fix | Delete
<input type="checkbox" class="wpforms-challenge-contact-permission"><?php esc_html_e( 'Yes, I give WPForms permission to contact me for any follow up questions.', 'wpforms-lite' ); ?>
[109] Fix | Delete
</label>
[110] Fix | Delete
<?php } ?>
[111] Fix | Delete
<button type="submit" class="wpforms-challenge-popup-btn wpforms-challenge-popup-contact-btn"><?php esc_html_e( 'Submit Feedback', 'wpforms-lite' ); ?></button>
[112] Fix | Delete
</form>
[113] Fix | Delete
</div>
[114] Fix | Delete
</div>
[115] Fix | Delete
</div>
[116] Fix | Delete
[117] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function