| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | <a href="<?php echo esc_url( $nav_item['link'] ); ?>" |
| 17 | 17 | <?php FrmAppHelper::select_current_page( $nav_item['page'], $current_page, $nav_item['current'] ); ?> |
| 18 | 18 | <?php |
| 19 | 19 | if ( isset( $nav_item['atts'] ) ) { |
| 20 | - FrmAppHelper::array_to_html_params( $nav_item['atts'], true ); | |
| 20 | + echo FrmAppHelper::array_to_html_params( $nav_item['atts'] ); // WPCS: XSS ok. | |
| 21 | 21 | } |
| 22 | 22 | ?>> |
| 23 | 23 | <?php echo esc_html( $nav_item['label'] ); ?> |
| 24 | 24 | </a> |