Make WordPress Core

Changeset 3952


Ignore:
Timestamp:
07/04/2006 06:33:08 PM (19 years ago)
Author:
matt
Message:

Allow Windows folks to delete attachements, fixes #2496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.