Changes between Initial Version and Version 2 of Ticket #62169
- Timestamp:
- 10/05/2024 03:52:35 AM (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62169
- Property Component General → Comments
- Property Focuses coding-standards added
- Property Summary A strict comparison should be implemented in the wp-includes/comment-template.php in wp_list_comments function → Use strict comparison in wp_list_comments()
-
Ticket #62169 – Description
initial v2 1 A strict comparison should be implemented in the wp-includes/comment-template.php file in wp_list_comments()on line 2291:2 if ( $parsed_args['page'] !== $current_cpage || $parsed_args['per_page'] !== $current_per_page ).1 A strict comparison should be implemented in the `wp-includes/comment-template.php` file in `wp_list_comments()` on line 2291: 2 `if ( $parsed_args['page'] !== $current_cpage || $parsed_args['per_page'] !== $current_per_page )` . 3 3 4 $parsed_args['page'] and $current_cpage, as well as $parsed_args['per_page'] and $current_per_page, both return integer values. I have not observed any of these variables returning a different return type.4 `$parsed_args['page']` and `$current_cpage`, as well as `$parsed_args['per_page']` and `$current_per_page`, both return integer values. I have not observed any of these variables returning a different return type.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)