Make WordPress Core

Changeset 48090


Ignore:
Timestamp:
06/19/2020 10:36:05 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Filesystem API: Expicitly set directory permissions in WP_Filesystem_SSH2::mkdir().

This ensures the permissions are correct after a directory is created with ssh2_sftp_mkdir(), which appears to be affected by system umask settings.

Props bbrdaric.
Fixes #49218.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.