WordPress.org

Make WordPress Core

Changeset 8477


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

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

File:
1 edited

Legend:

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

    r8370 r8477  
    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.