[wp-trac] [WordPress Trac] #14157: wp-includes references should be wiped off
WordPress Trac
noreply at wordpress.org
Thu Aug 7 22:12:09 UTC 2014
#14157: wp-includes references should be wiped off
----------------------------+-----------------------------
Reporter: steak | Owner: wonderboymusic
Type: enhancement | Status: reopened
Priority: lowest | Milestone: Future Release
Component: Bootstrap/Load | Version:
Severity: minor | Resolution:
Keywords: | Focuses:
----------------------------+-----------------------------
Comment (by lancewillett):
Found a case in `wp-admin/includes/ms.php`:
https://core.trac.wordpress.org/browser/trunk/src/wp-
admin/includes/ms.php#L810
{{{
var tb_pathToImage = "../../wp-includes/js/thickbox/loadingAnimation.gif";
}}}
Should be changed to:
{{{
var tb_pathToImage = '<?php echo includes_url(
'js/thickbox/loadingAnimation.gif' ); ?>';
}}}
Not sure if the `relative` context as second argument is needed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14157#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list