Language_Pack_Upgrader_Skin::error() WordPress Method
The Language_Pack_Upgrader_Skin::error() method is used to display an error message when there is an error upgrading a language pack.
Language_Pack_Upgrader_Skin::error( string|WP_Error $errors ) #
Parameters
- $errors
(string|WP_Error)(Required)Errors.
Source
File: wp-admin/includes/class-language-pack-upgrader-skin.php
public function error( $errors ) { echo '<div class="lp-error">'; parent::error( $errors ); echo '</div>'; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |