Make WordPress Core

Changeset 29741


Ignore:
Timestamp:
09/12/2014 10:30:03 PM (10 years ago)
Author:
wonderboymusic
Message:

Make the URL output in _thickbox_path_admin_subfolder() use includes_url().

Props voldemortensen.
Fixes #14157.

File:
1 edited

Legend:

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

    r28299 r29741  
    808808<script type="text/javascript">
    809809//<![CDATA[
    810 var tb_pathToImage = "../../wp-includes/js/thickbox/loadingAnimation.gif";
     810var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
    811811//]]>
    812812</script>
Note: See TracChangeset for help on using the changeset viewer.