WPDev.one
Core Class

WP_Upgrader_Skin

class WP_Upgrader_Skin // Constructor: function Object() { [native code] }

Generic Skin for the WordPress Upgrader classes. This skin is designed to be extended for specific purposes.

Methods 15 methods

Method / Return Description
__construct()
void

Constructor.

Parameters: $args: mixed
set_upgrader()
void

Sets the relationship between the skin being used and the upgrader.

Parameters: $upgrader: mixed
add_strings()
void

Sets up the strings used in the update process.

set_result()
void

Sets the result of an upgrade.

Parameters: $result: mixed
request_filesystem_credentials()
bool

Displays a form to the user to request for their FTP/SSH details in order

Parameters: $error: mixed, $context: mixed, $allow_relaxed_file_ownership: mixed
header()
void

Displays the header before the update process.

footer()
void

Displays the footer following the update process.

error()
void

Displays an error message about the update.

Parameters: $errors: mixed
feedback()
void

Displays a message about the update.

Parameters: $feedback: mixed, $args: mixed
before()
void

Performs an action before an update.

after()
void

Performs an action following an update.

decrement_update_count()
void

Outputs JavaScript that calls function to decrement the update counts.

Parameters: $type: mixed
bulk_header()
void

Displays the header before the bulk update process.

bulk_footer()
void

Displays the footer following the bulk update process.

hide_process_failed()
bool

Hides the `process_failed` error message when updating by uploading a zip file.

Parameters: $wp_error: mixed

Properties

Property / Type Description
$upgrader
mixed
public
No description available.
$done_header
mixed
public
No description available.
$done_footer
mixed
public
No description available.
$result
mixed
public
No description available.
$options
mixed
public
No description available.

Class Information

Since Version
2.8.0
Source File
wp-admin/includes/class-wp-upgrader-skin.php
Advertisement