PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.0
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.0
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/views/shared/admin-header.php +3 -7 6.336.0 View file →
@@ -7,9 +7,8 @@
7 7 ?>
8 8 <div id="frm_top_bar" class="<?php echo esc_attr( 'frm_nav_bar' ); ?>">
9 9 <a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable' ) ); ?>" class="frm-header-logo">
10 10 <?php FrmAppHelper::show_header_logo(); ?>
11 - <span class="screen-reader-text"><?php esc_html_e( 'View Forms', 'formidable' ); ?></span>
12 11 </a>
13 12
14 13 <?php
15 14 // Add form nav
@@ -35,21 +34,18 @@
35 34 }
36 35 ?>
37 36 </h1>
38 37 </div>
39 - <ul class="frm_form_nav"></ul>
40 38 <?php
41 - }//end if
39 + }
42 40
43 41 if ( isset( $atts['nav'] ) ) {
44 - FrmAppHelper::kses_echo( $atts['nav'], 'all' );
42 + echo FrmAppHelper::kses( $atts['nav'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
45 43 }
46 44
47 45 echo '<div id="frm-publishing">';
48 -
49 46 if ( ! empty( $atts['publish'] ) || ! empty( $atts['import_link'] ) ) {
50 47 $btn_type = 'primary';
51 -
52 48 if ( isset( $atts['publish'] ) && is_array( $atts['publish'] ) ) {
53 49 call_user_func( $atts['publish'][0], $atts['publish'][1] );
54 50 $btn_type = 'secondary';
55 51 }
@@ -69,9 +65,9 @@
69 65
70 66 if ( FrmAppHelper::is_full_screen() ) {
71 67 ?>
72 68 <div class="frm-full-close">
73 - <a href="<?php echo esc_url( $atts['close'] ); ?>" aria-label="<?php esc_attr_e( 'Close', 'formidable' ); ?>">
69 + <a href="<?php echo esc_attr( $atts['close'] ); ?>" aria-label="<?php esc_attr_e( 'Close', 'formidable' ); ?>">
74 70 <?php FrmAppHelper::icon_by_class( 'frmfont frm_close_icon', array( 'aria-label' => 'Dismiss' ) ); ?>
75 71 </a>
76 72 </div>
77 73 <?php } ?>