Make WordPress Core


Ignore:
Timestamp:
10/29/2020 06:00:58 PM (4 years ago)
Author:
desrosj
Message:

Coding standards: Modify escaping functions to avoid potential false positives.

Props xknown, zieladam, peterwilsoncc.
Merges [49375] to trunk.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-admin/includes/ms.php

    r48508 r49384  
    843843    ?>
    844844<script type="text/javascript">
    845 var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
     845var tb_pathToImage = "<?php echo esc_js( includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ) ); ?>";
    846846</script>
    847847    <?php
Note: See TracChangeset for help on using the changeset viewer.