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.../public_h.../wp-conte.../plugins/facebook...
File: short_code.php
<?php
[0] Fix | Delete
function fb_plugin_shortcode($atts) {
[1] Fix | Delete
[2] Fix | Delete
$atts = shortcode_atts(array('fb_url' => 'http://facebook.com/WordPress', 'width' => '400', 'height' => '500', 'data_small_header' => 'false', 'data_small_header' => 'false', 'data_adapt_container_width' => 'true', 'data_hide_cover' => 'false', 'data_show_facepile' => 'true', 'data_tabs' => 'timeline', 'data_lazy'=> 'false'), $atts, 'fb_widget');
[3] Fix | Delete
[4] Fix | Delete
$feeds = '<iframe src="https://www.facebook.com/plugins/page.php?href='.esc_html($atts['fb_url']).'&tabs='.esc_html($atts['data_tabs']).'&width='.esc_html($atts['width']).'&height='.esc_html($atts['height']).'&small_header='.esc_html($atts['data_small_header']).'&adapt_container_width='.esc_html($atts['data_adapt_container_width']).'&hide_cover='.esc_html($atts['data_hide_cover']).'&show_facepile='.esc_html($atts['data_show_facepile']).'&data_lazy='.esc_html($atts['data_lazy']).'" width="'.esc_html($atts['width']).'" height="'.esc_html($atts['height']).'" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>';
[5] Fix | Delete
[6] Fix | Delete
return $feeds;
[7] Fix | Delete
}
[8] Fix | Delete
[9] Fix | Delete
add_shortcode('fb_widget', 'fb_plugin_shortcode');
[10] Fix | Delete
[11] Fix | Delete
[12] Fix | Delete
?>
[13] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function