[wp-trac] [WordPress Trac] #36409: Comments number is wrong

WordPress Trac noreply at wordpress.org
Thu Feb 19 07:52:03 UTC 2026


#36409: Comments number is wrong
-------------------------------------------------+-------------------------
 Reporter:  sidati                               |       Owner:  pbearne
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  7.0
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-        |     Focuses:  template
  screenshots                                    |
-------------------------------------------------+-------------------------

Comment (by wildworks):

 @hbhalodia Thanks for the update. Can you investigate the cause of the
 unit test failure? It indicates that the PR may introduce some
 regressions.

 {{{
 There were 2 failures:

 1)
 Tests_Comment_MetaCache::test_comment_meta_should_be_lazy_loaded_in_comment_feed_queries
 Failed asserting that 93685 is identical to 93686.

 /var/www/tests/phpunit/tests/comment/metaCache.php:264
 phpvfscomposer:///var/www/vendor/phpunit/phpunit/phpunit:106
 /var/www/vendor/bin/phpunit:118

 2)
 Tests_Comment_MetaCache::test_comment_meta_should_be_lazy_loaded_in_single_post_comment_feed_queries
 Failed asserting that 93810 is identical to 93811.
 }}}

 See for https://github.com/WordPress/wordpress-
 develop/actions/runs/22170978215/job/64108595057?pr=9277 more details.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36409#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list