Changeset 8605

Show
Ignore:
Timestamp:
08/10/08 02:14:13 (3 months ago)
Author:
azaozz
Message:

Strip slashes when inserting media into the editor. Fixes #7488 for 2.7

Files:

Legend:

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

    r8600 r8605  
    281281        $keys = array_keys($_POST['send']); 
    282282        $send_id = (int) array_shift($keys); 
    283         $attachment = $_POST['attachments'][$send_id]
     283        $attachment = stripslashes_deep( $_POST['attachments'][$send_id] )
    284284        $html = $attachment['post_title']; 
    285285        if ( !empty($attachment['url']) ) {