PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.7.0
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.7.0
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 3.5.2 All 199 releases
betterdocs / views / admin / notices / upgrade.php

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

42 lines 1.3 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
25 if ( ! defined( 'ABSPATH' ) ) {
26 exit;
27 }
28 if ( $major ) {
29 printf(
30 '<p class="betterdocs-major-update-title">%s</p>',
31 __( '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
32 );
33 }
34
35 /**
36 * @var object $response;
37 */
38 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
39 ?>
40 </div>
41 <p style="display: none">
42