WordPress.org

Make WordPress Core

Changeset 40322


Ignore:
Timestamp:
03/24/17 00:57:21 (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct default value in @param entry for the $num_words parameter of wp_trim_words filter.

Props redrambles.
Fixes #40248.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r39940 r40322  
    33783378     * 
    33793379     * @param string $text          The trimmed text. 
    3380      * @param int    $num_words     The number of words to trim the text to. Default 5. 
     3380     * @param int    $num_words     The number of words to trim the text to. Default 55. 
    33813381     * @param string $more          An optional string to append to the end of the trimmed text, e.g. …. 
    33823382     * @param string $original_text The text before it was trimmed. 
Note: See TracChangeset for help on using the changeset viewer.