Make WordPress Core


Ignore:
Timestamp:
03/18/2021 02:11:55 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison for JS fragment in some admin files.

Follow-up to [48083].

Props nayanchamp7, rnaby.
Fixes #52845, #41988.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r50505 r50541  
    318318        <script type="text/javascript">
    319319        try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
    320         if(typeof wpOnload=='function')wpOnload();
     320        if(typeof wpOnload==='function')wpOnload();
    321321        </script>
    322322        <?php
Note: See TracChangeset for help on using the changeset viewer.