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.


Top ↑

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>';
	}


Top ↑

Changelog

Changelog
VersionDescription
5.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.