WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52342, comment 7


Ignore:
Timestamp:
01/28/2021 08:55:10 PM (2 months ago)
Author:
afragen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52342, comment 7

    initial v1  
    1 @dd32 the potential issue is that if the `dirlist()` fails the first time through there is no error generated. This generates that error.
     1@dd32 the potential issue is that if the `dirlist()` fails the first time through there is no error generated. This generates that error. Also, an error here means that the` install_package()` failed and therefore the update failed leaving an empty plugin/theme folder.
    22
    33Yes if it triggers during one of the loops that is sufficient.