WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8/src/wp-includes/functions.php

    r26851 r26927  
    13791379
    13801380        // If a umask is set that modifies $dir_perms, we'll have to re-set the $dir_perms correctly with chmod()
    1381         if ( $dir_perms != $dir_perms & ~umask() ) {
     1381        if ( $dir_perms != ( $dir_perms & ~umask() ) ) {
    13821382            $folder_parts = explode( '/', substr( $target, strlen( $target_parent ) + 1 ) );
    13831383            for ( $i = 1; $i <= count( $folder_parts ); $i++ ) {
Note: See TracChangeset for help on using the changeset viewer.