From 13f5d04590a8a9526784ad016c57f53e67433e33 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 24 Mar 2017 00:57:21 +0000 Subject: [PATCH] Docs: Correct default value in `@param` entry for the `$num_words` parameter of `wp_trim_words` filter. Props redrambles. Fixes #40248. git-svn-id: https://develop.svn.wordpress.org/trunk@40322 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index e4a4db1ddf..80e1545caf 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -3377,7 +3377,7 @@ function wp_trim_words( $text, $num_words = 55, $more = null ) { * @since 3.3.0 * * @param string $text The trimmed text. - * @param int $num_words The number of words to trim the text to. Default 5. + * @param int $num_words The number of words to trim the text to. Default 55. * @param string $more An optional string to append to the end of the trimmed text, e.g. …. * @param string $original_text The text before it was trimmed. */