Changeset 49108 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 10/08/2020 09:13:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r48929 r49108 605 605 606 606 /* translators: Maximum number of words used in a comment excerpt. */ 607 $comment_excerpt_length = intval( _x( '20', 'comment_excerpt_length' ));607 $comment_excerpt_length = (int) _x( '20', 'comment_excerpt_length' ); 608 608 609 609 /** … … 2206 2206 } 2207 2207 // Validation check. 2208 $parsed_args['page'] = intval( $parsed_args['page'] );2208 $parsed_args['page'] = (int) $parsed_args['page']; 2209 2209 if ( 0 == $parsed_args['page'] && 0 != $parsed_args['per_page'] ) { 2210 2210 $parsed_args['page'] = 1;
Note: See TracChangeset
for help on using the changeset viewer.