WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/24/2011 03:51:20 PM (8 years ago)
Author:
ryan
Message:

Use esc_url() once again.

Location:
branches/3.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1

  • branches/3.1/wp-admin/press-this.php

    r17710 r18017  
    226226                    else
    227227                        $src = 'http://'.str_replace('//','/', $host['host'].'/'.dirname($host['path']).'/'.$src);
    228                 $sources[] = esc_attr($src);
     228                $sources[] = esc_url($src);
    229229            }
    230230            return "'" . implode("','", $sources) . "'";
Note: See TracChangeset for help on using the changeset viewer.