WordPress.org

Make WordPress Core

Changeset 8201


Ignore:
Timestamp:
06/26/2008 10:05:01 PM (12 years ago)
Author:
ryan
Message:

Don't prepend http. Props noel. see #6813

File:
1 edited

Legend:

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

    r8190 r8201  
    331331
    332332    if ( !empty($src) ) {
    333         if ( !strpos($src, '://') )
    334             $src = "http://$src";
    335333        $alt = @$desc;
    336334        $html = "<img src='$src' alt='$alt' />";
Note: See TracChangeset for help on using the changeset viewer.