PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.3
4.9.3 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 All 201 releases
← All changes | views/admin/notices/upgrade.php +5 -1 4.5.1 → 4.9.3 View file →
@@ -20,9 +20,13 @@
20 20 }
21 21 </style>
22 22
23 23 <?php
24 - if ( $major ) {
24 +
25 +if ( ! defined( 'ABSPATH' ) ) {
26 + exit;
27 +}
28 +if ( $major ) {
25 29 printf(
26 30 '<p class="betterdocs-major-update-title">%s</p>',
27 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
28 32 );