Make WordPress Core


Ignore:
Timestamp:
02/26/2008 07:30:10 PM (17 years ago)
Author:
ryan
Message:

Media upload updates from andy. see #5911

File:
1 edited

Legend:

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

    r7041 r7043  
    8686    $hwstring = image_hwstring($width, $height);
    8787
    88     $html = '<img src="'.attribute_escape($img_src).'" alt="'.attribute_escape($alt).'" title="'.attribute_escape($title).'" '.$hwstring.'class="align-'.attribute_escape($align).' size-'.attribute_escape($size).' attachment wp-att-'.attribute_escape($id).'" />';
     88    $html = '<img src="'.attribute_escape($img_src).'" alt="'.attribute_escape($alt).'" title="'.attribute_escape($title).'" '.$hwstring.'class="align'.attribute_escape($align).' size-'.attribute_escape($size).' attachment wp-att-'.attribute_escape($id).'" />';
    8989
    9090    $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url );
Note: See TracChangeset for help on using the changeset viewer.