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/facebook.../admin
File: admin-notices.php
<?php
[0] Fix | Delete
if( !defined('ABSPATH') ){ exit();}
[1] Fix | Delete
function wp_fbap_admin_notice()
[2] Fix | Delete
{
[3] Fix | Delete
add_thickbox();
[4] Fix | Delete
$sharelink_text_array_fb = array
[5] Fix | Delete
(
[6] Fix | Delete
"I use WP2Social Auto Publish wordpress plugin from @xyzscripts and you should too.",
[7] Fix | Delete
"WP2Social Auto Publish wordpress plugin from @xyzscripts is awesome",
[8] Fix | Delete
"Thanks @xyzscripts for developing such a wonderful Facebook auto publishing wordpress plugin",
[9] Fix | Delete
"I was looking for a Facebook publishing plugin and I found this. Thanks @xyzscripts",
[10] Fix | Delete
"Its very easy to use WP2Social Auto Publish wordpress plugin from @xyzscripts",
[11] Fix | Delete
"I installed WP2Social Auto Publish from @xyzscripts,it works flawlessly",
[12] Fix | Delete
"WP2Social Auto Publish wordpress plugin that i use works terrific",
[13] Fix | Delete
"I am using WP2Social Auto Publish wordpress plugin from @xyzscripts and I like it",
[14] Fix | Delete
"The WP2Social Auto Publish plugin from @xyzscripts is simple and works fine",
[15] Fix | Delete
"I've been using this Facebook plugin for a while now and it is really good",
[16] Fix | Delete
"WP2Social Auto Publish wordpress plugin is a fantastic plugin",
[17] Fix | Delete
"WP2Social Auto Publish wordpress plugin is easy to use and works great. Thank you!",
[18] Fix | Delete
"Good and flexible WP2Social Auto Publish plugin especially for beginners",
[19] Fix | Delete
"The best Facebook Auto publish wordpress plugin I have used ! THANKS @xyzscripts",
[20] Fix | Delete
);
[21] Fix | Delete
$sharelink_text_fb = array_rand($sharelink_text_array_fb, 1);
[22] Fix | Delete
$sharelink_text_fb = $sharelink_text_array_fb[$sharelink_text_fb];
[23] Fix | Delete
$xyz_fbap_link = admin_url('admin.php?page=facebook-auto-publish-settings&fbap_blink=en');
[24] Fix | Delete
$xyz_fbap_link = wp_nonce_url($xyz_fbap_link,'fbap-blk');
[25] Fix | Delete
$xyz_fbap_notice = admin_url('admin.php?page=facebook-auto-publish-settings&fbap_notice=hide');
[26] Fix | Delete
$xyz_fbap_notice = wp_nonce_url($xyz_fbap_notice,'fbap-shw');
[27] Fix | Delete
echo '
[28] Fix | Delete
<script type="text/javascript">
[29] Fix | Delete
function xyz_fbap_shareon_tckbox(){
[30] Fix | Delete
tb_show("Share on","#TB_inline?width=500&amp;height=75&amp;inlineId=show_share_icons_fb&class=thickbox");
[31] Fix | Delete
}
[32] Fix | Delete
</script>
[33] Fix | Delete
<div id="fbap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">'?>
[34] Fix | Delete
<p><?php
[35] Fix | Delete
$fbap_url="https://wordpress.org/plugins/facebook-auto-publish/";
[36] Fix | Delete
$fbap_xyz_url="https://xyzscripts.com/";
[37] Fix | Delete
$fbap_wp="WP2Social Auto Publish";
[38] Fix | Delete
$fbap_xyz_com="xyzscripts.com";
[39] Fix | Delete
$fbap_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?','facebook-auto-publish'),$fbap_url,$fbap_wp,$fbap_xyz_url,$fbap_xyz_com);
[40] Fix | Delete
echo $fbap_thanks_msg; ?></p>
[41] Fix | Delete
[42] Fix | Delete
<p>
[43] Fix | Delete
<a href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews" class="button xyz_rate_btn" target="_blank"><?php _e('Rate it 5★\'s on wordpress','facebook-auto-publish'); ?> </a>
[44] Fix | Delete
<?php if(get_option('xyz_credit_link')=="0") ?>
[45] Fix | Delete
<a href="<?php echo $xyz_fbap_link; ?>" class="button xyz_backlink_btn xyz_blink"> <?php _e('Enable Backlink','facebook-auto-publish'); ?> </a>
[46] Fix | Delete
[47] Fix | Delete
<a class="button xyz_share_btn" onclick=xyz_fbap_shareon_tckbox();> <?php _e('Share on','facebook-auto-publish'); ?> </a>
[48] Fix | Delete
<a href="https://xyzscripts.com/donate/5" class="button xyz_donate_btn" target="_blank"> <?php _e('Donate','facebook-auto-publish'); ?> </a>
[49] Fix | Delete
[50] Fix | Delete
<a href="<?php echo $xyz_fbap_notice; ?>" class="button xyz_show_btn"> <?php _e('Don\'t Show This Again','facebook-auto-publish'); ?> </a>
[51] Fix | Delete
</p>
[52] Fix | Delete
[53] Fix | Delete
<div id="show_share_icons_fb" 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/Facebook-auto-publish/" target="_blank"> <?php _e('Facebook','facebook-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/Facebook-auto-publish/&text='.$sharelink_text_fb.'" target="_blank"> <?php _e('Twitter','facebook-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/Facebook-auto-publish/" target="_blank"> <?php _e('LinkedIn','facebook-auto-publish'); ?> </a>
[57] Fix | Delete
</div>
[58] Fix | Delete
<?php echo '</div>';
[59] Fix | Delete
}
[60] Fix | Delete
$fbap_installed_date = get_option('fbap_installed_date');
[61] Fix | Delete
if ($fbap_installed_date=="")
[62] Fix | Delete
{
[63] Fix | Delete
$fbap_installed_date = time();
[64] Fix | Delete
}
[65] Fix | Delete
[66] Fix | Delete
if($fbap_installed_date < ( time() - (20*24*60*60) ))
[67] Fix | Delete
{
[68] Fix | Delete
if (get_option('xyz_fbap_dnt_shw_notice') != "hide")
[69] Fix | Delete
{
[70] Fix | Delete
add_action('admin_notices', 'wp_fbap_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