Please sign in to comment.
Posts, Post Types: In `wp_trim_words()` make sure the `$num_words` pa…
…rameter is always an integer, as documented, to avoid a PHP warning. Props donmhico, pikamander2. Fixes #47867. git-svn-id: https://develop.svn.wordpress.org/trunk@45796 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information...
Showing with 12 additions and 1 deletion.