Skip to content

Commit ebda3f8

Browse files
committed
Adds esc_attr__ to title field
1 parent 970ef10 commit ebda3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/fields/class-field-url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function render( $field_settings, $form_id ) {
2626

2727
<div class="wpuf-fields">
2828
<input
29-
title = "The URL must contain a protocol i.e. http://example.com"
29+
title = "<?php echo esc_attr__( 'The URL must contain a protocol i.e. http://example.com' ) ?>"
3030
id = "<?php echo esc_attr( $field_settings['name'] ) . '_' . esc_attr( $form_id ); ?>"
3131
type = "url" class="url <?php echo ' wpuf_'. esc_attr( $field_settings['name'] ).'_'. esc_attr( $form_id ); ?>"
3232
data-duplicate = "<?php echo esc_attr( $field_settings['duplicate'] ) ? esc_attr( $field_settings['duplicate'] ) : 'no'; ?>"

0 commit comments

Comments
 (0)