Make WordPress Core

Changeset 7455


Ignore:
Timestamp:
03/21/2008 06:27:56 PM (17 years ago)
Author:
ryan
Message:

Cleanup slashing in wp_mkdir_p

File:
1 edited

Legend:

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

    r7445 r7455  
    10301030function wp_mkdir_p( $target ) {
    10311031    // from php.net/mkdir user contributed notes
     1032    $target = str_replace( '//', '/', $target );
    10321033    if ( file_exists( $target ) )
    10331034        return @is_dir( $target );
Note: See TracChangeset for help on using the changeset viewer.