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
betterdocs / views / admin / notices / upgrade.php

upgrade.php in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 3.8.9, at views/admin/notices/upgrade.php

38 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="betterdocs-plugin-update-message">
2 <style>
3 .betterdocs-plugin-update-message p:before { content: ''; margin-right: 0; display: none; }
4 .betterdocs-plugin-update-message ul {
5 list-style: disc;
6 padding-left: 15px;
7 }
8
9 .betterdocs-plugin-update-message p:first-of-type,
10 .betterdocs-plugin-update-message p.betterdocs-major-update-title {
11 font-weight: 700;
12 margin-top: 25px;
13 margin-bottom: 10px;
14 }
15
16 .betterdocs-plugin-update-message p.betterdocs-major-update-title {
17 border-bottom: 1px solid #ffb900;
18 padding-bottom: 10px;
19 margin-bottom: 20px;
20 }
21 </style>
22
23 <?php
24 if ( $major ) {
25 printf(
26 '<p class="betterdocs-major-update-title">%s</p>',
27 __( 'Heads up, Please backup before upgrade!', 'betterdocs' ) //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Not Required For Ecaping Because This Is A Static String Without Html Tags
28 );
29 }
30
31 /**
32 * @var object $response;
33 */
34 echo isset( $response->upgrade_notice ) ? $response->upgrade_notice : ''; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Not Required For Escaping Because The Upgrade Notice Can Contain Html Tags, Which Are Needed For This File
35 ?>
36 </div>
37 <p style="display: none">
38