Changeset 45796 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 08/14/2019 05:17:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r45769 r45796 3729 3729 * @param int $number The maximum number of words. Default 55. 3730 3730 */ 3731 $excerpt_length = apply_filters( 'excerpt_length', $excerpt_length );3731 $excerpt_length = (int) apply_filters( 'excerpt_length', $excerpt_length ); 3732 3732 3733 3733 /** … … 3774 3774 $original_text = $text; 3775 3775 $text = wp_strip_all_tags( $text ); 3776 $num_words = (int) $num_words; 3776 3777 3777 3778 /*
Note: See TracChangeset
for help on using the changeset viewer.