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/custom-t.../template...
File: author.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Smash Balloon Custom Twitter Feeds Author Template
[2] Fix | Delete
* Information about the person tweeting, replying, or quoting
[3] Fix | Delete
*
[4] Fix | Delete
* @version 2.0.4 Custom Twitter Feeds by Smash Balloon
[5] Fix | Delete
*
[6] Fix | Delete
*/
[7] Fix | Delete
use TwitterFeed\CTF_Parse;
[8] Fix | Delete
use TwitterFeed\CTF_Display_Elements;
[9] Fix | Delete
use TwitterFeed\CTF_GDPR_Integrations;
[10] Fix | Delete
[11] Fix | Delete
$author_display_name = CTF_Parse::get_display_author_name( $post );
[12] Fix | Delete
$author_screen_name = CTF_Parse::get_author_screen_name( $post );
[13] Fix | Delete
$avatar_src = CTF_Parse::get_avatar_url( $post, $feed_options );
[14] Fix | Delete
$post_id = CTF_Parse::get_tweet_id( $post );
[15] Fix | Delete
$utc_offset = CTF_Parse::get_utc_offset( $post );
[16] Fix | Delete
$created_at = CTF_Parse::get_original_timestamp( $post );
[17] Fix | Delete
$verified = CTF_Parse::get_verified( $post );
[18] Fix | Delete
[19] Fix | Delete
$author_attr = CTF_Display_Elements::get_element_attribute( 'author', $feed_options );
[20] Fix | Delete
$avatar_attr = CTF_Display_Elements::get_element_attribute( 'avatar', $feed_options );
[21] Fix | Delete
$author_text_attr = CTF_Display_Elements::get_element_attribute( 'author_text', $feed_options );
[22] Fix | Delete
$date_attr = CTF_Display_Elements::get_element_attribute( 'date', $feed_options );
[23] Fix | Delete
$logo_attr = CTF_Display_Elements::get_element_attribute( 'logo', $feed_options );
[24] Fix | Delete
$retweeter_attr = CTF_Display_Elements::get_element_attribute( 'retweeter', $feed_options );
[25] Fix | Delete
[26] Fix | Delete
$created_at = CTF_Parse::get_original_timestamp( $post );
[27] Fix | Delete
$date_text_attr = CTF_Display_Elements::get_post_date_attr( $created_at, $feed_options );
[28] Fix | Delete
[29] Fix | Delete
if (isset( $retweeter ) && ctf_show( 'retweeter', $feed_options )) :
[30] Fix | Delete
$retweeter_name = $retweeter['name'];
[31] Fix | Delete
$retweeter_screen_name = $retweeter['screen_name'];
[32] Fix | Delete
?>
[33] Fix | Delete
<div class="ctf-context" <?php echo $retweeter_attr ?>>
[34] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/intent/user?screen_name=' . $retweeter_screen_name ) ?>" target="_blank" rel="nofollow noopener noreferrer" class="ctf-retweet-icon"><?php echo ctf_get_fa_el( 'fa-retweet' ) ?><span class="ctf-screenreader"><?php esc_html_e( 'Retweet on Twitter', 'custom-twitter-feeds' ); ?></span></a>
[35] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/' . strtolower( $retweeter_screen_name ) ) ?>" target="_blank" rel="nofollow noopener noreferrer" class="ctf-retweet-text"><?php echo esc_html( $retweeter_name . ' ' . __( $feed_options['retweetedtext'], 'custom-twitter-feeds' ) )?></a>
[36] Fix | Delete
</div>
[37] Fix | Delete
<?php endif; ?>
[38] Fix | Delete
[39] Fix | Delete
<?php if (ctf_show( 'avatar', $feed_options ) || ctf_show( 'author', $feed_options ) || ctf_show( 'logo', $feed_options ) || ctf_show( 'date', $feed_options )) : ?>
[40] Fix | Delete
<div class="ctf-author-box">
[41] Fix | Delete
<div class="ctf-author-box-link">
[42] Fix | Delete
<?php if (ctf_show( 'author', $feed_options )) : ?>
[43] Fix | Delete
<?php if(ctf_show( 'avatar', $feed_options )): ?>
[44] Fix | Delete
<a href="https://twitter.com/<?php echo $author_screen_name ?>" class="ctf-author-avatar" target="_blank" rel="noopener noreferrer" <?php echo $avatar_attr ?>>
[45] Fix | Delete
<?php if (CTF_GDPR_Integrations::doing_gdpr( $feed_options )) : ?>
[46] Fix | Delete
<span data-avatar="<?php echo esc_url( CTF_Parse::get_avatar( $post ) ) ?>" data-alt="<?php echo esc_attr( $author_screen_name ) ?>">Avatar</span>
[47] Fix | Delete
<?php else: ?>
[48] Fix | Delete
<img src="<?php echo esc_url( $avatar_src ) ?>" alt="<?php echo esc_attr( $author_screen_name ); ?>" width="48" height="48">
[49] Fix | Delete
<?php endif; ?>
[50] Fix | Delete
</a>
[51] Fix | Delete
<?php endif;?>
[52] Fix | Delete
[53] Fix | Delete
<?php if (ctf_show( 'author_text', $feed_options )): ?>
[54] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/' . $author_screen_name ); ?>" target="_blank" rel="noopener noreferrer" class="ctf-author-name" <?php echo $author_text_attr; ?>><?php echo esc_html( $author_display_name ); ?></a>
[55] Fix | Delete
<?php if ((int) $verified === 1) : ?>
[56] Fix | Delete
<span class="ctf-verified" <?php echo $author_text_attr; ?> ><?php echo ctf_get_fa_el( 'fa-check-circle' ) ?></span>
[57] Fix | Delete
<?php endif;?>
[58] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/' . $author_screen_name ); ?>" class="ctf-author-screenname" target="_blank" rel="noopener noreferrer" <?php echo $author_text_attr; ?>>@<?php echo esc_html( $author_screen_name ); ?></a>
[59] Fix | Delete
<span class="ctf-screename-sep">&middot;</span>
[60] Fix | Delete
<?php endif;?>
[61] Fix | Delete
<?php endif; ?>
[62] Fix | Delete
[63] Fix | Delete
<?php if (ctf_show( 'date', $feed_options )): ?>
[64] Fix | Delete
<div class="ctf-tweet-meta" <?php echo $date_attr ?>>
[65] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/' . $author_screen_name . '/status/' . $post_id ); ?>" class="ctf-tweet-date" target="_blank" rel="noopener noreferrer" <?php echo $date_text_attr; ?>><?php echo ctf_get_formatted_date( $created_at, $feed_options, $utc_offset ) ?></a>
[66] Fix | Delete
</div>
[67] Fix | Delete
<?php endif; ?>
[68] Fix | Delete
</div>
[69] Fix | Delete
<?php if (ctf_show( 'logo', $feed_options )) : ?>
[70] Fix | Delete
<div class="ctf-corner-logo" <?php echo $logo_attr ?>>
[71] Fix | Delete
<?php
[72] Fix | Delete
if ( ctf_should_rebrand_to_x() ) {
[73] Fix | Delete
echo ctf_get_fa_el( 'fa-x' );
[74] Fix | Delete
} else {
[75] Fix | Delete
echo ctf_get_fa_el( 'fa-twitter' );
[76] Fix | Delete
}
[77] Fix | Delete
?>
[78] Fix | Delete
</div>
[79] Fix | Delete
<?php endif; ?>
[80] Fix | Delete
[81] Fix | Delete
</div>
[82] Fix | Delete
<?php endif; ?>
[83] Fix | Delete
[84] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function