Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a3a1f83d7f
commit
e30000d174
|
@ -446,7 +446,7 @@ if($_REQUEST['ajax'] == 'photo') { ?>
|
|||
<?php } ?>
|
||||
jQuery('#extra_fields').show();
|
||||
jQuery('#extra_fields').before('<h2 id="waiting"><img src="images/loading.gif" alt="" /><?php echo js_escape( __( 'Loading...' ) ); ?></h2>');
|
||||
jQuery('#extra_fields').load('<?php echo clean_url($_SERVER['PHP_SELF']).'/?ajax=photo&u='.attribute_escape($url); ?>');
|
||||
jQuery('#extra_fields').load('<?php echo clean_url($_SERVER['PHP_SELF']).'?ajax=photo&u='.attribute_escape($url); ?>');
|
||||
jQuery.ajax({
|
||||
type: "GET",
|
||||
cache : false,
|
||||
|
|
Loading…
Reference in New Issue