function wp_specialchars( $text,
$quote_style = ENT_NOQUOTES,
$charset = false,
$double_encode = false
) { _deprecated_function( __FUNCTION__, '2.8.0', 'esc_html()'
);
if ( func_num_args() > 1
) { // Maintain back-compat for people passing additional arguments.
return _wp_specialchars( $text,
$quote_style,
$charset,
$double_encode );
} else { return esc_html( $text );
}}/**
* Escaping for HTML attributes.
*
* @since 2.0.6
* @deprecated 2.8.0 Use esc_attr()
* @see esc_attr()
*
* @param string $text
* @return string
*/