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/clone/wp-conte.../plugins/popup-bu.../public/views
File: targetView.php
<?php
[0] Fix | Delete
namespace sgpb;
[1] Fix | Delete
/* Exit if accessed directly */
[2] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[3] Fix | Delete
exit;
[4] Fix | Delete
}
[5] Fix | Delete
$targetData = $popupTypeObj->getOptionValue('sgpb-target');
[6] Fix | Delete
$popupTargetData = ConditionBuilder::createTargetConditionBuilder($targetData);
[7] Fix | Delete
$type = (!empty($_GET['sgpb_type'])) ? sanitize_text_field($_GET['sgpb_type']) : $popupTypeObj->getOptionValue('sgpb-type');
[8] Fix | Delete
$allowed_html = AdminHelper::allowed_html_tags();
[9] Fix | Delete
[10] Fix | Delete
?>
[11] Fix | Delete
[12] Fix | Delete
<div class="popup-conditions-wrapper popup-conditions-target" data-condition-type="target">
[13] Fix | Delete
<?php
[14] Fix | Delete
$creator = new ConditionCreator($popupTargetData);
[15] Fix | Delete
echo wp_kses($creator->render(), $allowed_html);
[16] Fix | Delete
?>
[17] Fix | Delete
</div>
[18] Fix | Delete
[19] Fix | Delete
<input type="hidden" name="sgpb-type" value="<?php echo esc_attr($type); ?>">
[20] Fix | Delete
<input id="sgpb-is-preview" type="hidden" name="sgpb-is-preview" value="0" autocomplete="off">
[21] Fix | Delete
<input id="sgpb-is-active" type="hidden" name="sgpb-is-active" value="<?php echo esc_attr($popupTypeObj->getOptionValue('sgpb-is-active')); ?>" autocomplete="off">
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function