chore(2meet-data-optimizer-hivepress-addon): escape the admin status cells

- The detected / bound status cells of the HivePress admin table echo their literal marks through esc_html() (2.1 audit, Info 1, AddOn part); the output is unchanged.
- PR: PR-084
This commit is contained in:
2026-09-27 09:20:27 +08:00
parent 99f4653b25
commit ef7e005583
+2 -2
View File
@@ -85,9 +85,9 @@ if ( ! class_exists( 'TMDO_Admin_HivePress' ) ) {
<tr>
<td><code><?php echo esc_html( $slug ); ?></code></td>
<td><?php echo esc_html( $name ); ?></td>
<td><?php echo $is_detected ? '✅' : '⚪'; ?></td>
<td><?php echo esc_html( $is_detected ? '✅' : '⚪' ); ?></td>
<td><?php echo esc_html( $detected[ $slug ] ?? '—' ); ?></td>
<td><?php echo $is_bound ? '✅' : '—'; ?></td>
<td><?php echo esc_html( $is_bound ? '✅' : '—' ); ?></td>
<td><?php echo null === $score ? '—' : esc_html( (string) $score ); ?></td>
</tr>
<?php endforeach; ?>