mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
General: Fix some precision alignment formatting warnings.
The WPCS `WordPress.WhiteSpace.PrecisionAlignment` rule throws warnings for a bunch of code that will likely cause issues for `wpcbf`. Fixing these manually beforehand gives us better auto-fixed results later. See #41057. git-svn-id: https://develop.svn.wordpress.org/trunk@42228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -408,7 +408,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
if ( 'f' == $type || $this->is_file($file) )
|
||||
return ssh2_sftp_unlink($this->sftp_link, $file);
|
||||
if ( ! $recursive )
|
||||
return ssh2_sftp_rmdir($this->sftp_link, $file);
|
||||
return ssh2_sftp_rmdir($this->sftp_link, $file);
|
||||
$filelist = $this->dirlist($file);
|
||||
if ( is_array($filelist) ) {
|
||||
foreach ( $filelist as $filename => $fileinfo) {
|
||||
|
||||
Reference in New Issue
Block a user