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 ) {