[wp-trac] [WordPress Trac] #57011: wp_list_authors is broken in WordPress 6.1

WordPress Trac noreply at wordpress.org
Tue Jan 3 04:15:43 UTC 2023


#57011: wp_list_authors is broken in WordPress 6.1
----------------------------------------+-----------------------------
 Reporter:  lifeboat                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  6.1.2
Component:  Users                       |     Version:  6.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by peterwilsoncc):

 @johnbillion Do you have any thoughts of how I can consistently cause a
 collision in the two uses of `$post_count` for the purpose of testing.
 ([https://github.com/WordPress/wordpress-
 develop/blob/6663deb7649a407a9bd98541d67552af8179bbc2/src/wp-includes
 /author-template.php#L484-L493 source])

 `tests/phpunit/tests/user/wpListAuthors.php` has a decent amount of
 coverage but missed the collision

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


More information about the wp-trac mailing list