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/advanced.../admin/views/conditio...
File: ad-targeting-metabox.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Render targeting meta box for Display and Visitor Conditions on ad edit page
[2] Fix | Delete
*
[3] Fix | Delete
* @package Advanced_Ads_Admin
[4] Fix | Delete
* @license GPL-2.0+
[5] Fix | Delete
* @link https://wpadvancedads.com
[6] Fix | Delete
* @copyright since 2013 Thomas Maier, Advanced Ads GmbH
[7] Fix | Delete
*
[8] Fix | Delete
* @var array $display_conditions All set display conditions.
[9] Fix | Delete
* @var array $visitor_conditions All set visitor conditions.
[10] Fix | Delete
* @var boolean $display_conditions_available True if there aren't any display conditions.
[11] Fix | Delete
* @var boolean $visitor_conditions_available True if there aren't any visitor conditions.
[12] Fix | Delete
* @var Advanced_Ads_Ad $ad The current ad object.
[13] Fix | Delete
*/
[14] Fix | Delete
?>
[15] Fix | Delete
<h3>
[16] Fix | Delete
<?php echo esc_html__( 'Display Conditions', 'advanced-ads' ); ?>
[17] Fix | Delete
<span class="advads-help">
[18] Fix | Delete
<span class="advads-tooltip">
[19] Fix | Delete
<?php esc_html_e( 'Limit the ad to pages that match the following conditions. Don‘t do anything here if the ad should appear everywhere you embed it.', 'advanced-ads' ); ?>
[20] Fix | Delete
</span>
[21] Fix | Delete
</span>
[22] Fix | Delete
</h3>
[23] Fix | Delete
<?php if ( $display_conditions_available ) : ?>
[24] Fix | Delete
<div class="advads-show-in-wizard">
[25] Fix | Delete
<p><?php esc_html_e( 'Click on the button below if the ad should NOT show up on all pages when included automatically.', 'advanced-ads' ); ?></p>
[26] Fix | Delete
<button type="button" class="button button-secondary" id="advads-wizard-display-conditions-show"><?php esc_html_e( 'Hide the ad on some pages', 'advanced-ads' ); ?></button>
[27] Fix | Delete
</div>
[28] Fix | Delete
<?php endif; ?>
[29] Fix | Delete
<div id="advads-display-conditions" <?php echo $display_conditions_available ? 'class="advads-hide-in-wizard"' : ''; ?>>
[30] Fix | Delete
<?php Advanced_Ads_Display_Conditions::render_condition_list( $display_conditions, 'advads-ad-display-conditions' ); ?>
[31] Fix | Delete
</div>
[32] Fix | Delete
<?php do_action( 'advanced-ads-display-conditions-after', $ad ); ?>
[33] Fix | Delete
<hr/>
[34] Fix | Delete
<h3>
[35] Fix | Delete
<?php echo esc_html__( 'Visitor Conditions', 'advanced-ads' ); ?>
[36] Fix | Delete
<span class="advads-help">
[37] Fix | Delete
<span class="advads-tooltip">
[38] Fix | Delete
<?php esc_html_e( 'Target the ad to specific user groups that match the following conditions. Don‘t do anything here if all users should see the ad.', 'advanced-ads' ); ?>
[39] Fix | Delete
</span>
[40] Fix | Delete
</span>
[41] Fix | Delete
</h3>
[42] Fix | Delete
<?php if ( $visitor_conditions_available ) : ?>
[43] Fix | Delete
<div class="advads-show-in-wizard">
[44] Fix | Delete
<p><?php esc_html_e( 'Click on the button below if the ad should NOT be visible to all visitors', 'advanced-ads' ); ?></p>
[45] Fix | Delete
<button type="button" class="button button-secondary" id="advads-wizard-visitor-conditions-show"><?php esc_html_e( 'Hide the ad from some users', 'advanced-ads' ); ?></button>
[46] Fix | Delete
</div>
[47] Fix | Delete
<?php endif; ?>
[48] Fix | Delete
<div id="advads-visitor-conditions" <?php echo $visitor_conditions_available ? 'class="advads-hide-in-wizard"' : ''; ?>>
[49] Fix | Delete
<?php Advanced_Ads_Visitor_Conditions::render_condition_list( $visitor_conditions, 'advads-ad-visitor-conditions' ); ?>
[50] Fix | Delete
</div>
[51] Fix | Delete
<?php do_action( 'advanced-ads-visitor-conditions-after', $ad ); ?>
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function