deprecated attribute_escape() ==> esc_attr()
-
/**
* Escaping for HTML attributes.
*
* @since 2.0.6
* @deprecated 2.8.0
* @deprecated Use esc_attr()
* @see esc_attr()
*
* @param string $text
* @return string
*/
function attribute_escape( $text ) {
_deprecated_function( __FUNCTION__, ‘2.8’, ‘esc_attr()’ );
return esc_attr( $text );
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘deprecated attribute_escape() ==> esc_attr()’ is closed to new replies.