Make WordPress Core

Ticket #53341: 53341.patch

File 53341.patch, 646 bytes (added by sabbir1991, 4 years ago)

Patch created.

  • src/js/_enqueues/admin/user-profile.js

    diff --git a/src/js/_enqueues/admin/user-profile.js b/src/js/_enqueues/admin/user-profile.js
    index 3b5e26f977..86a0aa2b0b 100644
    a b  
    141141                resultDiv.addClass( 'notice-' + ( success ? 'success' : 'error' ) );
    142142
    143143                // Add the message, wrapping in a p tag, with a fadein to highlight each message.
    144                 resultDiv.text( $( $.parseHTML( message ) ).text() ).wrapInner( '<p />');
     144                resultDiv.append( $( $.parseHTML( message ) ) ).wrapInner( '<p />' );
    145145
    146146                // Disable the button when the callback has succeeded.
    147147                $this.prop( 'disabled', success );