: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if( !defined('ABSPATH') ){ exit();}
a.xyz_header_link:hover{text-decoration:underline;}
.xyz_header_link{text-decoration:none;}
if($_POST && isset($_POST['xyz_credit_link']))
if (! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( $_REQUEST['_wpnonce'], 'xyz_fbap_basic_settings_form_nonce' )) {
wp_nonce_ays( 'xyz_fbap_basic_settings_form_nonce' );
$xyz_credit_link=$_POST['xyz_credit_link'];
update_option('xyz_credit_link', $xyz_credit_link);
<div class="system_notice_area_style1" id="system_notice_area">
<?php _e('Settings updated successfully.','facebook-auto-publish'); ?> <span id="system_notice_area_dismiss"> <?php _e('Dismiss','facebook-auto-publish'); ?> </span>
if(!$_POST && isset($_GET['fbap_blink'])&&isset($_GET['fbap_blink'])=='en'){
if (! isset( $_REQUEST['_wpnonce'] ) || ! wp_verify_nonce( $_REQUEST['_wpnonce'],'fbap-blk')){
wp_nonce_ays( 'fbap-blk');
update_option('xyz_credit_link',"fbap");
<div class="system_notice_area_style1" id="system_notice_area">
<?php _e('Thank you for enabling backlink.','facebook-auto-publish'); ?>
<span id="system_notice_area_dismiss"> <?php _e('Dismiss','facebook-auto-publish'); ?> </span>
if(get_option('xyz_credit_link')=="0" &&(get_option('xyz_fbap_credit_dismiss')=="0")){
<div style="float:left;background-color: #FFECB3;border-radius:5px;padding: 0px 5px;margin-top: 10px;border: 1px solid #E0AB1B" id="xyz_backlink_div">
<?php _e('Please do a favour by enabling backlink to our site.','facebook-auto-publish'); ?> <a id="xyz_fbap_backlink" class="xyz_fbap_backlink" style="cursor: pointer;" > <?php _e('Okay, Enable','facebook-auto-publish'); ?> </a>.
<a id="xyz_fbap_dismiss" style="cursor: pointer;" > <?php _e('Dismiss','facebook-auto-publish'); ?> </a>.
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#xyz_fbap_backlink').click(function(){
jQuery('#xyz_fbap_dismiss').click(function(){
function xyz_filter_blink(stat){
var backlink_nonce= '<?php echo wp_create_nonce('backlink');?>';
action: 'xyz_fbap_ajax_backlink',
jQuery.post(ajaxurl, dataString, function(response) {
alert(xyz_script_fbap_var.alert3);
jQuery('.xyz_fbap_backlink').hide();
jQuery("#xyz_backlink_div").html(xyz_script_fbap_var.html2);
jQuery("#xyz_backlink_div").css('background-color', '#D8E8DA');
jQuery("#xyz_backlink_div").css('border', '1px solid #0F801C');
jQuery("#xyz_backlink_div").remove();
<div style="margin-top: 10px">
<table style="float:right; ">
<td style="float:right;">
<a class="xyz_header_link" style="margin-left:8px;margin-right:12px;" target="_blank" href="https://xyzscripts.com/donate/5"> <?php _e('Donate','facebook-auto-publish'); ?> </a>
<td style="float:right;">
<a class="xyz_header_link" style="margin-left:8px;" target="_blank" href="http://help.xyzscripts.com/docs/facebook-auto-publish/faq/"> <?php _e('FAQ','facebook-auto-publish'); ?> </a> |
<td style="float:right;">
<a class="xyz_header_link" style="margin-left:8px;" target="_blank" href="http://help.xyzscripts.com/docs/facebook-auto-publish/"> <?php _e('Readme','facebook-auto-publish'); ?> </a> |
<td style="float:right;">
<a class="xyz_header_link" style="margin-left:8px;" target="_blank" href="https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/details"> <?php _e('About','facebook-auto-publish'); ?> </a> |
<td style="float:right;">
<a class="xyz_header_link" target="_blank" href="https://xyzscripts.com">XYZScripts</a> |
<div style="clear: both"></div>