[wp-trac] [WordPress Trac] #62169: A strict comparison should be implemented in the wp-includes/comment-template.php in wp_list_comments function
WordPress Trac
noreply at wordpress.org
Sat Oct 5 01:51:46 UTC 2024
#62169: A strict comparison should be implemented in the wp-includes/comment-
template.php in wp_list_comments function
---------------------------+-----------------------------
Reporter: deepakrohilla | Owner: deepakrohilla
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
Focuses: |
---------------------------+-----------------------------
A strict comparison should be implemented in the wp-includes/comment-
template.php file in wp_list_comments() on line 2291:
if ( $parsed_args['page'] !== $current_cpage || $parsed_args['per_page']
!== $current_per_page ) .
$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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62169>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list