Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #36965, comment 6


Ignore:
Timestamp:
06/23/2016 10:34:29 PM (10 years ago)
Author:
neogeneva
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36965, comment 6

    v1 v2  
    1818FYI: I'm using PHP 5.4.45 under Windows 10 1511
    1919
    20 Edit: Just to clarify, this happens because `$temp_filename()` attempts to strip the extension from files, and since the `.maintenance` is only extension it ends up empty, and then calls itself recursively passing in the result of a call to `dirname()`
     20Edit: Just to clarify, this happens because `wp_tempnam()` attempts to strip the extension from files, and since the `.maintenance` file is only extension it ends up empty, and then calls itself recursively passing in the result of a call to `dirname()`