Make WordPress Core

Changeset 17993


Ignore:
Timestamp:
05/22/2011 11:19:12 PM (15 years ago)
Author:
ryan
Message:

Use esc_url() once again.

File:
1 edited

Legend:

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

    r17709 r17993  
    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.