PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.2
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/setup-wizard/tab-content.php +18 -13 3.4.24.9.2 View file →
@@ -1,14 +1,19 @@
1 -<div class="tab-content" id="<?php print( isset( $section['id'] ) ? $section['id'] : 'default-nav' );?>">
2 - <table class="form-table" role="presentation">
3 - <tbody>
4 - <?php
5 - if ( isset( $section['fields'] ) && is_array( $section['fields'] ) ) {
6 - foreach ( $section['fields'] as $field ) {
7 - $methodName = 'callback_' . $field['type'];
8 - $self::$methodName( $field );
9 - }
10 - }
11 - ?>
12 - </tbody>
13 - </table>
1 +<div class="tab-content" id="<?php
2 +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- view template receives variables via extract(); prefixing is impractical.
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 +}
6 +print( isset( $section['id'] ) ? esc_html( $section['id'] ) : 'default-nav' ); ?>">
7 + <table class="form-table" role="presentation">
8 + <tbody>
9 + <?php
10 + if ( isset( $section['fields'] ) && is_array( $section['fields'] ) ) {
11 + foreach ( $section['fields'] as $field ) {
12 + $methodName = 'callback_' . $field['type'];
13 + $self::$methodName( $field );
14 + }
15 + }
16 + ?>
17 + </tbody>
18 + </table>
14 19 </div>