Make WordPress Core


Ignore:
Timestamp:
09/24/2011 04:17:17 AM (13 years ago)
Author:
dd32
Message:

Fix typo in languages directory creation for new installations. Props SergeyBiryukov. Fixes #18741 for 3.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/wp-admin/includes/update-core.php

    r18437 r18764  
    385385
    386386        if ( !@is_dir($lang_dir) && 0 === strpos($lang_dir, ABSPATH) ) { // Check the language directory exists first
    387             $wp_filesystem->mkdir($to . str_replace($lang_dir, ABSPATH, ''), FS_CHMOD_DIR); // If it's within the ABSPATH we can handle it here, otherwise they're out of luck.
     387            $wp_filesystem->mkdir($to . str_replace(ABSPATH, '', $lang_dir), FS_CHMOD_DIR); // If it's within the ABSPATH we can handle it here, otherwise they're out of luck.
    388388            clearstatcache(); // for FTP, Need to clear the stat cache
    389389        }
Note: See TracChangeset for help on using the changeset viewer.