html_type_rss()

最后更新于:2021-11-27 05:45:49

html_type_rss()

Display the HTML type based on the blog setting.

源文件

文件: gc-includes/feed.php

function html_type_rss() {
	$type = get_bloginfo( 'html_type' );
	if ( strpos( $type, 'xhtml' ) !== false ) {
		$type = 'xhtml';
	} else {
		$type = 'html';
	}
	echo $type;
}