Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24925, comment 1


Ignore:
Timestamp:
08/16/2013 07:46:39 PM (11 years ago)
Author:
csixty4
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24925, comment 1

    initial v1  
    1 It's a great idea from a user experience standpoint, but complicated by the fact PHP's filesystem & FTP functions don't give any kind of useful error status. The filesystem code could do a set of triage checks after failures, but that would only identify reasons that *might* prevent an upgrade from completing.
     1It's a great idea from a user experience standpoint, but complicated by the fact PHP's filesystem & FTP functions don't give any kind of useful error status. The filesystem code could do a set of triage checks after failures, but that would only identify reasons that *might* have prevented an upgrade from completing.
    22
    33I'm working on a plugin called [https://github.com/daveross/upgrade-first-aid upgrade-first-aid] that does those kinds of checks outside of the plugin upgrader itself. It might be a good idea to add a disk space check ([http://php.net/manual/en/function.disk-free-space.php disk_free_space()]) to that plugin's code.