Make WordPress Core

Changeset 9961


Ignore:
Timestamp:
11/29/2008 04:28:37 AM (16 years ago)
Author:
azaozz
Message:

PressThis fix from Noel, see #7949

File:
1 edited

Legend:

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

    r9910 r9961  
    267267            skip = false;
    268268           
    269             maybeappend = '<a href="?ajax=photo_thickbox&amp;i=' + encodeURI(img.src) + '&amp;u=<?php echo urlencode($url); ?>&amp;height=400&amp;width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>';
     269            maybeappend = '<a href="?ajax=photo_thickbox&amp;i=' + encodeURIComponent(img.src) + '&amp;u=<?php echo urlencode($url); ?>&amp;height=400&amp;width=500" title="" class="thickbox"><img src="' + img.src + '" ' + img_attr + '/></a>';
    270270           
    271271            if (img.width && img.height) {
Note: See TracChangeset for help on using the changeset viewer.