From 88b5c746dd50e54cc210b8006ee8de991acf010f Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Wed, 13 Nov 2019 16:27:08 -0500 Subject: [PATCH] Fix unescaped content --- plugins/wporg-5ftf/assets/js/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wporg-5ftf/assets/js/admin.js b/plugins/wporg-5ftf/assets/js/admin.js index 006afda..3777723 100644 --- a/plugins/wporg-5ftf/assets/js/admin.js +++ b/plugins/wporg-5ftf/assets/js/admin.js @@ -91,7 +91,7 @@ jQuery( document ).ready( function( $ ) { const $message = $( '
' ) .attr( 'id', 'add-contrib-message' ) .addClass( 'notice notice-error notice-alt' ) - .html( '

' + response.message + '

' ); + .append( $( '

' ).text( response.message ) ); $( '#add-contrib-message' ).replaceWith( $message ); } else if ( response.contributors ) {