mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-01 16:51:18 +03:00
Fix unescaped content
This commit is contained in:
parent
5d4d1b7f4c
commit
88b5c746dd
|
@ -91,7 +91,7 @@ jQuery( document ).ready( function( $ ) {
|
|||
const $message = $( '<div>' )
|
||||
.attr( 'id', 'add-contrib-message' )
|
||||
.addClass( 'notice notice-error notice-alt' )
|
||||
.html( '<p>' + response.message + '</p>' );
|
||||
.append( $( '<p>' ).text( response.message ) );
|
||||
|
||||
$( '#add-contrib-message' ).replaceWith( $message );
|
||||
} else if ( response.contributors ) {
|
||||
|
|
Loading…
Reference in a new issue