Ticket #61879: fix-deprecation-warning.diff
File fix-deprecation-warning.diff, 501 bytes (added by , 2 months ago) |
---|
-
src/wp-includes/formatting.php
diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index e618536f41..1a109f108a 100644
a b function esc_attr( $text ) { 4717 4717 * @return string 4718 4718 */ 4719 4719 function esc_textarea( $text ) { 4720 $text = is_null($text) ? '' : $text; 4720 4721 $safe_text = htmlspecialchars( $text, ENT_QUOTES, get_option( 'blog_charset' ) ); 4721 4722 /** 4722 4723 * Filters a string cleaned and escaped for output in a textarea element.