PressThis fix from Noel, see #7949

git-svn-id: https://develop.svn.wordpress.org/trunk@9961 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-11-29 04:28:37 +00:00
parent a519d62ab9
commit 89ba87084f
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ switch ($_REQUEST['ajax']) {
img_attr = 'id="img' + i + '"'; img_attr = 'id="img' + i + '"';
skip = false; skip = false;
maybeappend = '<a href="?ajax=photo_thickbox&amp;i=' + encodeURI(img.src) + '&amp;u=<?php echo urlencode($url); ?>&amp;height=400&amp;width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>'; maybeappend = '<a href="?ajax=photo_thickbox&amp;i=' + encodeURIComponent(img.src) + '&amp;u=<?php echo urlencode($url); ?>&amp;height=400&amp;width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>';
if (img.width && img.height) { if (img.width && img.height) {
if (img.width >= 30 && img.height >= 30) { if (img.width >= 30 && img.height >= 30) {