| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | <div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>"> |
| 15 | 15 | <?php if(is_user_logged_in() && !function_exists('run_wdk_membership') && !wmvc_user_in_role('administrator')):?> |
| 16 | 16 | <a target="_blank" href="https://wpdirectorykit.com/plugins/wp-directory-membership.html" id="<?php echo esc_attr(wmvc_show_data('link_id', $settings));?>" class="wdk-element-button"> |
| 17 | 17 | <?php elseif(!empty($this->data['settings']['custom_link']['url'])):?> |
| 18 | - <a <?php echo $this->get_render_attribute_string( 'custom_link'); ?> class="wdk-element-button"> | |
| 18 | + <a <?php echo $this->get_render_attribute_string( 'custom_link');// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.WP.I18n.NonSingularStringLiteralText ?> class="wdk-element-button"> | |
| 19 | 19 | <?php else:?> |
| 20 | 20 | <a href="<?php echo esc_attr(wmvc_show_data('link_url', $settings));?>" id="<?php echo esc_attr(wmvc_show_data('link_id', $settings));?>" class="wdk-element-button"> |
| 21 | 21 | <?php endif;?> |
| 22 | 22 | |