includes/class-fs-plugin-updater.php
static function _store_basename_for_source_adjustment( $response, $hook_extra ) {
            if ( isset( $hook_extra['plugin'] ) ) {
                self::$_upgrade_basename = $hook_extra['plugin'];
            } else if ( isset( $hook_extra['theme'] ) ) {
                self::$_upgrade_basename = $hook_extra['theme'];
            } else {
                self::$_upgrade_basename = null;
            }

            return $response;
        }
static function _store_basename_for_source_adjustment( $response, $hook_extra ) {
            if ( isset( $hook_extra['plugin'] ) ) {
                self::$_upgrade_basename = $hook_extra['plugin'];
            } else if ( isset( $hook_extra['theme'] ) ) {
                self::$_upgrade_basename = $hook_extra['theme'];
            } else {
                self::$_upgrade_basename = null;
            }

            return $response;
        }
static function _store_basename_for_source_adjustment ( $ response , $ hook_extra ) { if ( isset ( $ hook_extra [ 'plugin' ] ) ) { self :: $ _upgrade_basename = $ hook_extra [ 'plugin' ] ; } else if ( isset ( $ hook_extra [ 'theme' ] ) ) { self :: $ _upgrade_basename = $ hook_extra [ 'theme' ] ; } else { self :: $ _upgrade_basename = null ; } return $ response ; }
Store the basename since it's not always available in the `_maybe_adjust_source_dir` method below.

@author Leo Fajardo (@leorw)
@since 2.2.1

@param bool|WP_Error $response   Response.
@param array         $hook_extra Extra arguments passed to hooked filters.

@return bool|WP_Error
Store the basename since it s not always available in the _maybe_adjust_source_dir method below .