WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/29/2020 04:56:34 PM (4 months ago)
Author:
whyisjake
Message:

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

Props xknown, zieladam, peterwilsoncc.Y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5/src/wp-admin/includes/ms.php

    r48508 r49375  
    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.