From 6123befc1a1c748aa538ba6117eb8edbb55cbbc9 Mon Sep 17 00:00:00 2001 From: Takayuki Miyoshi Date: Sun, 4 Dec 2022 15:43:37 +0900 Subject: [PATCH] Deprecate wpcf7_autop_preserve_newline_callback() #1068 --- includes/formatting.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/formatting.php b/includes/formatting.php index bea27cd1..77a8b5e3 100644 --- a/includes/formatting.php +++ b/includes/formatting.php @@ -18,6 +18,8 @@ function wpcf7_autop( $input ) { /** * Newline preservation help function for wpcf7_autop(). * + * @deprecated 5.7 Unnecessary to use any more. + * * @param array $matches preg_replace_callback() matches array. * @return string Text including newline placeholders. */