mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Make the URL output in _thickbox_path_admin_subfolder()
use includes_url()
.
Props voldemortensen. Fixes #14157. Built from https://develop.svn.wordpress.org/trunk@29741 git-svn-id: http://core.svn.wordpress.org/trunk@29515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ae21b1884d
commit
d0a327b0b9
@ -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