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/advanced.../admin/views
File: overview-notices.php
<?php // phpcs:ignoreFile
[0] Fix | Delete
/**
[1] Fix | Delete
* Render box with problems and notifications on the Advanced Ads overview page
[2] Fix | Delete
*
[3] Fix | Delete
* @var int $has_problems number of problems.
[4] Fix | Delete
* @var int $has_notices number of notices.
[5] Fix | Delete
* @var int $ignored_count number of ignored notices.
[6] Fix | Delete
*/
[7] Fix | Delete
?>
[8] Fix | Delete
<h3<?php echo ! $has_problems ? ' style="display:none;"' : ''; ?>>
[9] Fix | Delete
<?php
[10] Fix | Delete
esc_attr_e( 'Problems', 'advanceda-ads' );
[11] Fix | Delete
?>
[12] Fix | Delete
</h3>
[13] Fix | Delete
<?php
[14] Fix | Delete
Advanced_Ads_Ad_Health_Notices::get_instance()->display_problems();
[15] Fix | Delete
[16] Fix | Delete
?>
[17] Fix | Delete
<h3<?php echo ! $has_notices ? ' style="display:none;"' : ''; ?>>
[18] Fix | Delete
<?php
[19] Fix | Delete
esc_attr_e( 'Notifications', 'advanceda-ads' );
[20] Fix | Delete
?>
[21] Fix | Delete
</h3>
[22] Fix | Delete
<?php
[23] Fix | Delete
Advanced_Ads_Ad_Health_Notices::get_instance()->display_notices();
[24] Fix | Delete
[25] Fix | Delete
?>
[26] Fix | Delete
<p class="adsvads-ad-health-notices-show-hidden" <?php echo ! $ignored_count ? 'style="display: none;"' : ''; ?>>
[27] Fix | Delete
<?php
[28] Fix | Delete
printf(
[29] Fix | Delete
wp_kses(
[30] Fix | Delete
// translators: %s is the number of hidden notices.
[31] Fix | Delete
esc_html__( 'Show %s hidden notices', 'advanced-ads' ),
[32] Fix | Delete
[
[33] Fix | Delete
'span' => [
[34] Fix | Delete
'class',
[35] Fix | Delete
],
[36] Fix | Delete
]
[37] Fix | Delete
),
[38] Fix | Delete
'<span class="count">' . absint( $ignored_count ) . '</span>'
[39] Fix | Delete
);
[40] Fix | Delete
?>
[41] Fix | Delete
&nbsp;
[42] Fix | Delete
<button type="button"><span class="dashicons dashicons-visibility"></span></button>
[43] Fix | Delete
</p>
[44] Fix | Delete
<?php
[45] Fix | Delete
[46] Fix | Delete
if ( Advanced_Ads_Ad_Health_Notices::has_visible_problems() ) {
[47] Fix | Delete
include ADVADS_ABSPATH . 'admin/views/support-callout.php';
[48] Fix | Delete
}
[49] Fix | Delete
[50] Fix | Delete
?>
[51] Fix | Delete
<div class="advads-loader" style="display: none;"></div>
[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