WordPress.org

Make WordPress Core

Ticket #19531: 19531.patch

File 19531.patch, 554 bytes (added by SergeyBiryukov, 5 years ago)
  • wp-includes/js/wp-ajax-response.js

     
    5050                return true;
    5151        },
    5252        invalidateForm: function ( selector ) {
     53                jQuery('div.error').hide();
    5354                return jQuery( selector ).addClass( 'form-invalid' ).find('input:visible').change( function() { jQuery(this).closest('.form-invalid').removeClass( 'form-invalid' ); } );
    5455        },
    5556        validateForm: function( selector ) {