Loading inc/class-s3-uploads-wp-cli-command.php +1 −0 Original line number Diff line number Diff line Loading @@ -122,6 +122,7 @@ class S3_Uploads_WP_CLI_Command extends WP_CLI_Command { foreach ( $files as $file ) { if ( file_exists( $path = $old_upload_dir['basedir'] . '/' . $file ) ) { if ( ! copy( $path, $upload_dir['basedir'] . '/' . $file ) ) { WP_CLI::line( sprintf( 'Failed to moved %s to S3', $file ) ); } else { Loading Loading
inc/class-s3-uploads-wp-cli-command.php +1 −0 Original line number Diff line number Diff line Loading @@ -122,6 +122,7 @@ class S3_Uploads_WP_CLI_Command extends WP_CLI_Command { foreach ( $files as $file ) { if ( file_exists( $path = $old_upload_dir['basedir'] . '/' . $file ) ) { if ( ! copy( $path, $upload_dir['basedir'] . '/' . $file ) ) { WP_CLI::line( sprintf( 'Failed to moved %s to S3', $file ) ); } else { Loading