WordPress.org

Make WordPress Core

Changeset 8476


Ignore:
Timestamp:
07/28/2008 11:07:47 PM (10 years ago)
Author:
azaozz
Message:

Press This: using trailing slash after $_SERVERPHP_SELF? breaks the image tab on some servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r8369 r8476  
    447447                jQuery('#extra_fields').show();
    448448                jQuery('#extra_fields').before('<h2 id="waiting"><img src="images/loading.gif" alt="" /><?php echo js_escape( __( 'Loading...' ) ); ?></h2>');
    449                 jQuery('#extra_fields').load('<?php echo clean_url($_SERVER['PHP_SELF']).'/?ajax=photo&u='.attribute_escape($url); ?>');
     449                jQuery('#extra_fields').load('<?php echo clean_url($_SERVER['PHP_SELF']).'?ajax=photo&u='.attribute_escape($url); ?>');
    450450                jQuery.ajax({
    451451                    type: "GET",
Note: See TracChangeset for help on using the changeset viewer.