wp-admin/includes/class-automatic-upgrader-skin.php:40Determines whether the upgrader needs FTP/SSH details in order to connect to the filesystem.
$errorbool|WP_Erroroptionalfalse$contextstringoptional''$allow_relaxed_file_ownershipbooloptionalfalsebool public function request_filesystem_credentials( $error = false, $context = '', $allow_relaxed_file_ownership = false ) { if ( $context ) { $this->options['context'] = $context; } /* * TODO: Fix up request_filesystem_credentials(), or split it, to allow us to request a no-output version. * This will output a credentials form in event of failure. We don't want that, so just hide with a buffer. */ ob_start(); $result = parent::request_filesystem_credentials( $error, $context, $allow_relaxed_file_ownership ); ob_end_clean(); return $result; }Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/includes/class-automatic-upgrader-skin.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.