Make the URL output in _thickbox_path_admin_subfolder()
use includes_url()
.
Props voldemortensen. Fixes #14157. git-svn-id: https://develop.svn.wordpress.org/trunk@29741 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2dd4990234
commit
578609d31e
@ -807,7 +807,7 @@ function _thickbox_path_admin_subfolder() {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var tb_pathToImage = "../../wp-includes/js/thickbox/loadingAnimation.gif";
|
||||
var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
|
||||
//]]>
|
||||
</script>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user