Changeset 3952

Show
Ignore:
Timestamp:
07/04/06 18:33:08 (3 years ago)
Author:
matt
Message:

Allow Windows folks to delete attachements, fixes #2496

Files:

Legend:

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

    r3900 r3952  
    12601260 
    12611261    if ( $file ) 
    1262         add_post_meta($post_ID, '_wp_attached_file', $file ); 
     1262        add_post_meta($post_ID, '_wp_attached_file', quotemeta( $file ) ); 
    12631263 
    12641264    clean_post_cache($post_ID);