We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a5cc0d + b826653 commit 78d7a6cCopy full SHA for 78d7a6c
1 file changed
includes/Fields/Form_Field_Post_Tags.php
@@ -61,7 +61,7 @@ class="textfield <?php echo esc_attr( 'wpuf_' . $field_settings['name'] . '_' .
61
<script type="text/javascript">
62
;(function($) {
63
$(document).ready( function(){
64
- $('li.tags input[name=tags]').suggest( wpuf_frontend.ajaxurl + '<?php echo esc_js( $query_string ); ?>', { delay: 500, minchars: 2, multiple: true, multipleSep: ', ' } );
+ $('li.tags input[name=tags]').suggest( wpuf_frontend.ajaxurl + <?php echo wp_json_encode( $query_string ); ?>, { delay: 500, minchars: 2, multiple: true, multipleSep: ', ' } );
65
});
66
})(jQuery);
67
</script>
0 commit comments