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
This commit is contained in:
parent
3a4b5afa49
commit
6e5e29c5bf
|
@ -3377,7 +3377,7 @@ function wp_trim_words( $text, $num_words = 55, $more = null ) {
|
||||||
* @since 3.3.0
|
* @since 3.3.0
|
||||||
*
|
*
|
||||||
* @param string $text The trimmed text.
|
* @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 $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.
|
* @param string $original_text The text before it was trimmed.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue