PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 3.8.9
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v3.8.9
4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 All 200 releases
← All changes | views/admin/email/analytics/overview.php +4 -9 4.8.23.8.9 View file →
@@ -1,10 +1,5 @@
1 1 <?php
2 -// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- view template receives variables via extract(); prefixing is impractical.
3 -// phpcs:disable PluginCheck.CodeAnalysis.Offloading.OffloadedContent -- HTML email assets must be remote.
4 -if ( ! defined( 'ABSPATH' ) ) {
5 - exit;
6 -}
7 2 if ( empty( $args ) ) {
8 3 return;
9 4 }
10 5
@@ -104,9 +99,9 @@
104 99 <h3 style="font-size: 12px; line-height: 1em; color: #6e6e73; font-weight: 600; text-transform: uppercase; padding-bottom: 5px; margin: 0;"><?php esc_html_e( 'Total Views', 'betterdocs' ); ?></h3>
105 100 <h2 style="font-size: 22px; line-height: 1em; font-weight: 700; color: #1d1d1f; margin: 0;">
106 101 <?php
107 102 echo esc_html( $views );
108 - echo wp_kses_post( $view_arrow );
103 + echo $view_arrow;
109 104 ?>
110 105 <span style="font-size: 14px; line-height: 1.1em; font-weight: 600; color: <?php echo esc_attr( $view_color ); ?>; margin-left: 5px;">
111 106 <?php echo esc_html( $percentage_views ); ?>%
112 107 </span>
@@ -123,9 +118,9 @@
123 118 <h3 style="font-size: 12px; line-height: 1em; color: #6e6e73; font-weight: 600; text-transform: uppercase; padding-bottom: 5px; margin: 0;"><?php esc_html_e( 'Total Searches', 'betterdocs' ); ?></h3>
124 119 <h2 style="font-size: 22px; line-height: 1em; font-weight: 700; color: #1d1d1f; margin: 0;">
125 120 <?php
126 121 echo esc_html( $total_search );
127 - echo wp_kses_post( $search_arrow );
122 + echo $search_arrow;
128 123 ?>
129 124 <span style="font-size: 14px; line-height: 1.1em; font-weight: 600; color: <?php echo esc_attr( $search_color ); ?>; margin-left: 5px;">
130 125 <?php echo esc_html( $percentage_total_search ); ?>%
131 126 </span>
@@ -145,9 +140,9 @@
145 140 <h3 style="font-size: 12px; line-height: 1em; color: #6e6e73; font-weight: 600; text-transform: uppercase; padding-bottom: 5px; margin: 0;"><?php esc_html_e( 'Total Reactions', 'betterdocs' ); ?></h3>
146 141 <h2 style="font-size: 22px; line-height: 1em; font-weight: 700; color: #1d1d1f; margin: 0;">
147 142 <?php
148 143 echo esc_html( $reactions );
149 - echo wp_kses_post( $reactions_arrow );
144 + echo $reactions_arrow;
150 145 ?>
151 146 <span style="font-size: 14px; line-height: 1.1em; font-weight: 600; color: <?php echo esc_attr( $reactions_color ); ?>; margin-left: 5px;">
152 147 <?php echo esc_html( $percentage_reactions ); ?>%
153 148 </span>
@@ -166,9 +161,9 @@
166 161 <h2
167 162 style="font-size: 22px; line-height: 1em; font-weight: 700; color: #1d1d1f; margin: 0;">
168 163 <?php
169 164 echo esc_html( $total_docs );
170 - echo wp_kses_post( $docs_arrow );
165 + echo $docs_arrow;
171 166 ?>
172 167 <span style="font-size: 14px; line-height: 1.1em; font-weight: 600; color: <?php echo esc_attr( $docs_color ); ?>; margin-left: 5px;">
173 168 <?php echo esc_html( $percentage_total_docs ); ?>%
174 169 </span>