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/twitter-.../admin
File: admin-notices.php
<?php
[0] Fix | Delete
if( !defined('ABSPATH') ){ exit();}
[1] Fix | Delete
function wp_twap_admin_notice()
[2] Fix | Delete
{
[3] Fix | Delete
add_thickbox();
[4] Fix | Delete
$sharelink_text_array_tw = array
[5] Fix | Delete
(
[6] Fix | Delete
"I Use WP Twitter Auto Publish wordpress plugin from @xyzscripts and you should too",
[7] Fix | Delete
"WP Twitter Auto Publish wordpress Plugin from @xyzscripts is awesome",
[8] Fix | Delete
"Thanks @xyzscripts for developing such a wonderful Twitter auto publishing wordpress plugin",
[9] Fix | Delete
"I was looking for a Twitter publishing plugin like this. Thanks @xyzscripts",
[10] Fix | Delete
"Its very easy to use WP Twitter Auto Publish wordpress Plugin from @xyzscripts",
[11] Fix | Delete
"I installed WP Twitter Auto Publish from @xyzscripts, it works flawlessly",
[12] Fix | Delete
"The WP Twitter Auto Publish wordpress plugin that i use works terrific",
[13] Fix | Delete
"I am using WP Twittter Auto Publish wordpress plugin from @xyzscripts and I like it",
[14] Fix | Delete
"The WP Twitter Auto Publish plugin from @xyzscripts is simple and works fine",
[15] Fix | Delete
"I've been using this Twitter plugin for a while now and it is really good",
[16] Fix | Delete
"WP Twitter Auto Publish wordpress plugin is a fantastic plugin",
[17] Fix | Delete
"WP Twitter Auto Publish wordpress plugin is easy to use and works great. Thank you!",
[18] Fix | Delete
"Good and flexible WP Twitter Auto publish plugin especially for beginners",
[19] Fix | Delete
"The best Twittter auto publish wordpress plugin I have used ! THANKS @xyzscripts",
[20] Fix | Delete
);
[21] Fix | Delete
$sharelink_text_tw = array_rand($sharelink_text_array_tw, 1);
[22] Fix | Delete
$sharelink_text_tw = $sharelink_text_array_tw[$sharelink_text_tw];
[23] Fix | Delete
$xyz_twap_link = admin_url('admin.php?page=twitter-auto-publish-settings&twap_blink=en');
[24] Fix | Delete
$xyz_twap_link = wp_nonce_url($xyz_twap_link,'twap-blk');
[25] Fix | Delete
$xyz_twap_notice = admin_url('admin.php?page=twitter-auto-publish-settings&twap_notice=hide');
[26] Fix | Delete
$xyz_twap_notice = wp_nonce_url($xyz_twap_notice,'twap-shw');
[27] Fix | Delete
echo '
[28] Fix | Delete
<script type="text/javascript">
[29] Fix | Delete
function xyz_twap_shareon_tckbox(){
[30] Fix | Delete
tb_show("Share on","#TB_inline?width=500&amp;height=75&amp;inlineId=show_share_icons_tw&class=thickbox");
[31] Fix | Delete
}
[32] Fix | Delete
</script>
[33] Fix | Delete
<div id="twap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">' ?>
[34] Fix | Delete
<p><?php
[35] Fix | Delete
$twap_url="https://wordpress.org/plugins/twitter-auto-publish/";
[36] Fix | Delete
$twap_xyz_url="https://xyzscripts.com/";
[37] Fix | Delete
$twap_wp="WP Twitter Auto Publish";
[38] Fix | Delete
$twap_xyz_com="xyzscripts.com";
[39] Fix | Delete
$twap_thanks_msg=sprintf( __('Thank you for using <a href="%s" target="_blank"> %s </a> plugin from <a href="%s" target="_blank"> %s </a>. Would you consider supporting us with the continued development of the plugin using any of the below methods?','twitter-auto-publish'),$twap_url,$twap_wp,$twap_xyz_url,$twap_xyz_com);
[40] Fix | Delete
echo $twap_thanks_msg; ?></p>
[41] Fix | Delete
[42] Fix | Delete
<p>
[43] Fix | Delete
<a href="https://wordpress.org/support/plugin/twitter-auto-publish/reviews" class="button xyz_rate_btn" target="_blank"> <?php _e('Rate it 5★\'s on wordpress','twitter-auto-publish'); ?></a>
[44] Fix | Delete
<?php if(get_option('xyz_credit_link')=="0") ?>
[45] Fix | Delete
<a href="<?php echo $xyz_twap_link; ?>"class="button xyz_backlink_btn xyz_blink"> <?php _e('Enable Backlink','twitter-auto-publish'); ?> </a>
[46] Fix | Delete
[47] Fix | Delete
<a class="button xyz_share_btn" onclick=xyz_twap_shareon_tckbox();> <?php _e('Share on','twitter-auto-publish'); ?> </a>
[48] Fix | Delete
<a href="https://xyzscripts.com/donate/5" class="button xyz_donate_btn" target="_blank"> <?php _e('Donate','twitter-auto-publish'); ?> </a>
[49] Fix | Delete
[50] Fix | Delete
<a href="<?php echo $xyz_twap_notice; ?>" class="button xyz_show_btn"> <?php _e('Don\'t Show This Again','twitter-auto-publish'); ?></a>
[51] Fix | Delete
</p>
[52] Fix | Delete
[53] Fix | Delete
<div id="show_share_icons_tw" style="display: none;">
[54] Fix | Delete
<a class="button" style="background-color:#3b5998;color:white;margin-right:4px;margin-left:100px;margin-top: 25px;" href="http://www.facebook.com/sharer/sharer.php?u=https://xyzscripts.com/wordpress-plugins/twitter-auto-publish/" target="_blank"> <?php _e('Facebook','twitter-auto-publish'); ?> </a>
[55] Fix | Delete
<a class="button" style="background-color:#00aced;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://twitter.com/share?url=https://xyzscripts.com/wordpress-plugins/twitter-auto-publish/&text='.$sharelink_text_tw.'" target="_blank"> <?php _e('Twitter','twitter-auto-publish'); ?> </a>
[56] Fix | Delete
<a class="button" style="background-color:#007bb6;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://www.linkedin.com/shareArticle?mini=true&url=https://xyzscripts.com/wordpress-plugins/twitter-auto-publish/" target="_blank"> <?php _e('LinkedIn','twitter-auto-publish'); ?> </a>
[57] Fix | Delete
</div>
[58] Fix | Delete
<?php echo '</div>';
[59] Fix | Delete
[60] Fix | Delete
}
[61] Fix | Delete
$twap_installed_date = get_option('twap_installed_date');
[62] Fix | Delete
if ($twap_installed_date=="")
[63] Fix | Delete
{
[64] Fix | Delete
$twap_installed_date = time();
[65] Fix | Delete
}
[66] Fix | Delete
if($twap_installed_date < ( time() - (30*24*60*60) ))
[67] Fix | Delete
{
[68] Fix | Delete
if (get_option('xyz_twap_dnt_shw_notice') != "hide")
[69] Fix | Delete
{
[70] Fix | Delete
add_action('admin_notices', 'wp_twap_admin_notice');
[71] Fix | Delete
}
[72] Fix | Delete
}
[73] Fix | Delete
[74] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function