if ( $translate && ( empty( $value ) || !
$this->
load_textdomain() ) ) { $translate = false;
} if ( $translate ) { $value =
$this->
translate_header( $header,
$value );
} if ( $markup ) { $value =
$this->
markup_header( $header,
$value,
$translate );
} return $value;
} /**
* Sanitizes a theme header.
*
* @since 3.4.0
* @since 5.4.0 Added support for `Requires at least` and `Requires PHP` headers.
* @since 6.1.0 Added support for `Update URI` header.
*
* @param string $header Theme header. Accepts 'Name', 'Description', 'Author', 'Version',
* 'ThemeURI', 'AuthorURI', 'Status', 'Tags', 'RequiresWP', 'RequiresPHP',
* 'UpdateURI'.
* @param string $value Value to sanitize.
* @return string|array An array for Tags header, string otherwise.
*/