From 6e5e29c5bf49ad2be6a2c3a3d4fb3f5af6853b5b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 24 Mar 2017 00:58:41 +0000 Subject: [PATCH] Docs: Correct default value in `@param` entry for the `$num_words` parameter of `wp_trim_words` filter. Props redrambles. Fixes #40248. Built from https://develop.svn.wordpress.org/trunk@40322 git-svn-id: http://core.svn.wordpress.org/trunk@40229 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 7ad8020e36..4e8f63dbbb 100644 --- a/wp-includes/formatting.php +++ b/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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index c11b890d85..f7e93aa587 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40320'; +$wp_version = '4.8-alpha-40322'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.