Press This: using trailing slash after $_SERVER['PHP_SELF'] breaks the image tab on some servers.
git-svn-id: https://develop.svn.wordpress.org/trunk@8476 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c0c919091b
commit
ec69e512e4
@ -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…
x
Reference in New Issue
Block a user