[wp-trac] [WordPress Trac] #6453: Thickbox
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 29 18:58:11 GMT 2008
#6453: Thickbox
-------------------------+--------------------------------------------------
Reporter: lmbbox | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5.1
Component: General | Version: 2.5
Severity: normal | Keywords: thickbox
-------------------------+--------------------------------------------------
With 2.5, you have added thickbox. In the first lines you set the image
urls as relative paths. This causes an issue, if a theme includes
WordPress's thickbox library, with the images. Instead of setting in /wp-
includes/js/thickbox/thickbox.js on lines 8 and 9 from:
{{{
var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif";
var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png";
}}}
to:
{{{
var tb_pathToImage = "/wp-includes/js/thickbox/loadingAnimation.gif";
var tb_closeImage = "/wp-includes/js/thickbox/tb-close.png";
}}}
This will allow unmodified access to the library.
--
Ticket URL: <http://trac.wordpress.org/ticket/6453>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list