mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
PressThis fix from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8ad17b0df3
commit
0449c5532e
@ -266,7 +266,7 @@ switch ($_REQUEST['ajax']) {
|
||||
img_attr = 'id="img' + i + '"';
|
||||
skip = false;
|
||||
|
||||
maybeappend = '<a href="?ajax=photo_thickbox&i=' + encodeURI(img.src) + '&u=<?php echo urlencode($url); ?>&height=400&width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>';
|
||||
maybeappend = '<a href="?ajax=photo_thickbox&i=' + encodeURIComponent(img.src) + '&u=<?php echo urlencode($url); ?>&height=400&width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>';
|
||||
|
||||
if (img.width && img.height) {
|
||||
if (img.width >= 30 && img.height >= 30) {
|
||||
|
Loading…
Reference in New Issue
Block a user