Make WordPress Core


Ignore:
Timestamp:
05/02/2010 10:53:59 PM (16 years ago)
Author:
ryan
Message:

Escape links by default. Props alexkingorg. see #13051

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/plugin.php

    r14315 r14347  
    823823
    824824    if ( empty($icon_url) )
    825         $icon_url = esc_url( admin_url( 'images/generic.png' ) );
     825        $icon_url = admin_url( 'images/generic.png' );
    826826    elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') )
    827827        $icon_url = 'https://' . substr($icon_url, 7);
Note: See TracChangeset for help on using the changeset viewer.