Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/wpforms-.../template.../admin/componen...
File: chart.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Overview chart template.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.8.2
[4] Fix | Delete
*
[5] Fix | Delete
* @var string $id Identifier to outline the context of where the chart will be used. i.e., "entries".
[6] Fix | Delete
* @var array $notice Container variable for holding placeholder heading and description text that is displayed when the chart has no stats to show.
[7] Fix | Delete
* @var string $total_items Total number of items (entries) as a placeholder text to be shown.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
[11] Fix | Delete
[12] Fix | Delete
?>
[13] Fix | Delete
<div class="wpforms-overview-chart">
[14] Fix | Delete
<div class="spinner"></div>
[15] Fix | Delete
<div class="wpforms-overview-chart-notice wpforms-hide">
[16] Fix | Delete
<div class="wpforms-overview-chart-notice-content">
[17] Fix | Delete
<h2><?php echo esc_html( $notice['heading'] ); ?></h2>
[18] Fix | Delete
<p><?php echo esc_html( $notice['description'] ); ?></p>
[19] Fix | Delete
</div>
[20] Fix | Delete
</div>
[21] Fix | Delete
[22] Fix | Delete
<?php if ( ! empty( $total_items ) ) : ?>
[23] Fix | Delete
<h3 class="wpforms-overview-chart-heading">
[24] Fix | Delete
<?php echo esc_html( $total_items ); ?>:
[25] Fix | Delete
<span class="wpforms-overview-chart-total-items">0</span>
[26] Fix | Delete
</h3>
[27] Fix | Delete
<?php endif; ?>
[28] Fix | Delete
[29] Fix | Delete
<div class="wpforms-overview-chart-canvas">
[30] Fix | Delete
<canvas id="wpforms-<?php echo esc_attr( $id ); ?>-overview-canvas" width="400" height="300"></canvas>
[31] Fix | Delete
</div>
[32] Fix | Delete
</div>
[33] Fix | Delete
[34] Fix | Delete
<?php
[35] Fix | Delete
/* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */
[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