[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

title

Body

[close]

/wp-admin/includes/ -> class-automatic-upgrader-skin.php (summary)

Upgrader API: Automatic_Upgrader_Skin class

File Size: 117 lines (3 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Automatic_Upgrader_Skin:: (5 methods):
  request_filesystem_credentials()
  get_upgrade_messages()
  feedback()
  header()
  footer()


Class: Automatic_Upgrader_Skin  - X-Ref

Upgrader Skin for Automatic WordPress Upgrades

This skin is designed to be used when no output is intended, all output
is captured and stored for the caller to process and log/email/discard.

request_filesystem_credentials( $error = false, $context = '', $allow_relaxed_file_ownership = false )   X-Ref
Determines whether the upgrader needs FTP/SSH details in order to connect
to the filesystem.

param: bool|WP_Error $error                        Optional. Whether the current request has failed to connect,
param: string        $context                      Optional. Full path to the directory that is tested
param: bool          $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
return: bool True on success, false on failure.

get_upgrade_messages()   X-Ref

return: array

feedback( $data, ...$args )   X-Ref

param: string|array|WP_Error $data
param: mixed                 ...$args Optional text replacements.

header()   X-Ref
No description

footer()   X-Ref
No description



Generated: Sat Nov 23 20:47:33 2019 Cross-referenced by PHPXref 0.7