Make WordPress Core

Ticket #45143: 45143-1.diff

File 45143-1.diff, 431 bytes (added by manzoorwani.jk, 7 years ago)

With fixed coding standards

  • src/wp-login.php

     
    638638
    639639                <?php
    640640                login_footer( 'user_login' );
     641                ?>
     642                <script type="text/javascript">
     643                document.getElementById('wp-submit').addEventListener('click',function(){this.form.submit();this.disabled=true;});
     644                </script>
     645                <?php
    641646
    642647                break;
    643648