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.../modules/gadsense/admin/views
File: adsense-report.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* AdSense report markup.
[2] Fix | Delete
*
[3] Fix | Delete
* @var Advanced_Ads_AdSense_Report $this report instance.
[4] Fix | Delete
* @var array $report_domains domain names included in the report.
[5] Fix | Delete
* @var string $report_filter ad unit or domain name to filter the output with.
[6] Fix | Delete
* @var array $sums daily sums of earnings.
[7] Fix | Delete
* @var string $earning_cells markup for each earning period.
[8] Fix | Delete
*/
[9] Fix | Delete
$time_zone = Advanced_Ads_Utils::get_wp_timezone();
[10] Fix | Delete
$data_timestamp = date_create( '@' . $this->get_data()->get_timestamp() );
[11] Fix | Delete
$data_timestamp->setTimezone( $time_zone );
[12] Fix | Delete
[13] Fix | Delete
?>
[14] Fix | Delete
<div class="advads-flex">
[15] Fix | Delete
<?php echo wp_kses_post( $earning_cells ); ?>
[16] Fix | Delete
<div class="advads-flex1 advads-stats-box">
[17] Fix | Delete
<?php if ( $this->type === 'domain' ) : // Adds the dropdown list of domain names. ?>
[18] Fix | Delete
<div class="advads-stats-dd-container">
[19] Fix | Delete
<div class="advads-stats-dd-button"><span class="dashicons dashicons-admin-multisite"></span>
[20] Fix | Delete
<div class="advads-stats-dd-items">
[21] Fix | Delete
<div class="advads-stats-dd-item<?php echo in_array( $report_filter, [ '*', '' ], true ) ? ' current-filter' : ''; ?>" data-domain="*">
[22] Fix | Delete
<?php esc_html_e( 'All', 'advanced-ads' ); ?>
[23] Fix | Delete
</div><!-- .advads-stats-dd-item -->
[24] Fix | Delete
<?php foreach ( $report_domains as $domain_name ) : ?>
[25] Fix | Delete
<div class="advads-stats-dd-item<?php echo ( $domain_name === $report_filter ) ? ' current-filter' : ''; ?>" data-domain="<?php echo esc_attr( $domain_name ); ?>">
[26] Fix | Delete
<?php echo esc_html( $domain_name ); ?>
[27] Fix | Delete
</div><!-- .advads-stats-dd-item -->
[28] Fix | Delete
<?php endforeach; ?>
[29] Fix | Delete
</div><!-- .advads-stats-dd-items -->
[30] Fix | Delete
</div><!-- .advads-stats-dd-button -->
[31] Fix | Delete
</div><!-- .advads-stats-dd-container -->
[32] Fix | Delete
<?php endif; ?>
[33] Fix | Delete
<div class="advads-stats-age"><?php echo esc_html( $data_timestamp->format( get_option( 'time_format' ) ) ); ?></div>
[34] Fix | Delete
</div><!-- .advads-stats-box-->
[35] Fix | Delete
</div><!-- .advads-flex -->
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function